Skip to content

Comments

Skip swss events in telemetry/test_events.py for m* topos#19872

Merged
StormLiangMS merged 2 commits intosonic-net:masterfrom
rgarofano-arista:skip-swss-m1-topos
Nov 13, 2025
Merged

Skip swss events in telemetry/test_events.py for m* topos#19872
StormLiangMS merged 2 commits intosonic-net:masterfrom
rgarofano-arista:skip-swss-m1-topos

Conversation

@rgarofano-arista
Copy link
Contributor

Description of PR

Summary:
Skipping swss event verification in telemetry/test_events.py for m1 and m2 topos as this testing is out of scope for the deployment.

Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Approach

What is the motivation for this PR?

We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?

Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?

Ran test with and without change, test was passing with the change.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@StormLiangMS
Copy link
Collaborator

@rgarofano-arista
Copy link
Contributor Author

rgarofano-arista commented Sep 25, 2025

hi @rgarofano-arista you may check this file, https://github.com/sonic-net/sonic-mgmt/blob/master/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml, we can skip per test case.

Yes, we can. However, there are only two test cases and this is a large test. By skipping the telemetry/test_events.py::test_events test case, we would be skipping the following events:

bgp_events.py
dhcp-relay_events.py
event_utils.py
eventd_events.py
host_events.py
run_events_test.py
swss_events.py

The change I am proposing only skips swss_events.py which is the only one that uses pfcwd. Perhaps arista could look into creating separate test cases for each of these event types, but I personally am of the opinion that skipping the entire test case is too aggressive the way the test is written today.

@StormLiangMS
Copy link
Collaborator

hi @rgarofano-arista I see your point. As you commented, I would suggest to "maintain a list of SKUs that don't have pfc support and only try to generate / verify the pfc storm event on SKUs not in the list. " but rather than skip all swss events for m* topos.

An alternative way to approach fixing this test would be to make the pfc storm verification conditional on pfc support. The test is not granular enough to use conditional mark to skip but we can maintain a list of SKUs that don't have pfc support and only try to generate / verify the pfc storm event on SKUs not in the list. Would you like us to proceed with this method?

@Blueve @lizhijianrd any thoughts?

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Collaborator

@StormLiangMS StormLiangMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StormLiangMS StormLiangMS merged commit b0fda68 into sonic-net:master Nov 13, 2025
19 checks passed
@StormLiangMS
Copy link
Collaborator

hi @Blueve do we still need to do the cherrypick for 202505 branch?

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Nov 20, 2025
…19872)

What is the motivation for this PR?
We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?
Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?
Ran test with and without change, test was passing with the change.
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202505: #21373

mssonicbld pushed a commit that referenced this pull request Nov 27, 2025
What is the motivation for this PR?
We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?
Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?
Ran test with and without change, test was passing with the change.
selldinesh pushed a commit to selldinesh/sonic-mgmt that referenced this pull request Dec 11, 2025
…19872)

What is the motivation for this PR?
We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?
Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?
Ran test with and without change, test was passing with the change.

Signed-off-by: selldinesh <dinesh.sellappan@keysight.com>
echuawu pushed a commit to echuawu/sonic-mgmt that referenced this pull request Dec 12, 2025
…19872)

What is the motivation for this PR?
We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?
Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?
Ran test with and without change, test was passing with the change.
saravanan-nexthop pushed a commit to saravanan-nexthop/sonic-mgmt that referenced this pull request Dec 15, 2025
…19872)

What is the motivation for this PR?
We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?
Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?
Ran test with and without change, test was passing with the change.

Signed-off-by: Saravanan <saravanan@nexthop.ai>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 16, 2025
…19872)

What is the motivation for this PR?
We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?
Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?
Ran test with and without change, test was passing with the change.

Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
…19872)

What is the motivation for this PR?
We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?
Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?
Ran test with and without change, test was passing with the change.

Signed-off-by: Aharon Malkin <amalkin@nvidia.com>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
…19872)

What is the motivation for this PR?
We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?
Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?
Ran test with and without change, test was passing with the change.

Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
@r12f
Copy link
Contributor

r12f commented Jan 9, 2026

hi @rgarofano-arista , do you mind to help pick this change to 202412?

venu-nexthop pushed a commit to venu-nexthop/sonic-mgmt that referenced this pull request Jan 13, 2026
…19872)

What is the motivation for this PR?
We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?
Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?
Ran test with and without change, test was passing with the change.
yifan-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Jan 14, 2026
…19872)

What is the motivation for this PR?
We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?
Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?
Ran test with and without change, test was passing with the change.

Signed-off-by: YiFan Wang <yifan@nexthop.ai>
lakshmi-nexthop pushed a commit to lakshmi-nexthop/sonic-mgmt that referenced this pull request Jan 28, 2026
…19872)

What is the motivation for this PR?
We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?
Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?
Ran test with and without change, test was passing with the change.

Signed-off-by: Lakshmi Yarramaneni <lakshmi@nexthop.ai>
wangxin pushed a commit that referenced this pull request Jan 29, 2026
PR #19872 broke the test skip on Nokia (Marvell) M0/Mx platforms. In this PR, I add them back.
In addition, I add Arista-720DT-MGX for skip.

What is the motivation for this PR?
Skip swss events in telemetry/test_events.py for Nokia-7215, Nokia-7215A1 and Arista-720DT-MGX

How did you do it?
How did you verify/test it?
Verified on Nokia-7215 Mx testbed.

Signed-off-by: Zhijian Li <zhijianli@microsoft.com>
ytzur1 pushed a commit to ytzur1/sonic-mgmt that referenced this pull request Jan 29, 2026
…19872)

What is the motivation for this PR?
We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?
Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?
Ran test with and without change, test was passing with the change.
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jan 30, 2026
…net#22153)

PR sonic-net#19872 broke the test skip on Nokia (Marvell) M0/Mx platforms. In this PR, I add them back.
In addition, I add Arista-720DT-MGX for skip.

What is the motivation for this PR?
Skip swss events in telemetry/test_events.py for Nokia-7215, Nokia-7215A1 and Arista-720DT-MGX

How did you do it?
How did you verify/test it?
Verified on Nokia-7215 Mx testbed.

Signed-off-by: Zhijian Li <zhijianli@microsoft.com>
@r12f
Copy link
Contributor

r12f commented Feb 1, 2026

hi @rgarofano-arista Ryan, do you mind to help pick this change to 202412?

ytzur1 pushed a commit to ytzur1/sonic-mgmt that referenced this pull request Feb 2, 2026
…19872)

What is the motivation for this PR?
We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?
Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?
Ran test with and without change, test was passing with the change.

Signed-off-by: Yael Tzur <ytzur@nvidia.com>
ytzur1 pushed a commit to ytzur1/sonic-mgmt that referenced this pull request Feb 2, 2026
…net#22153)

PR sonic-net#19872 broke the test skip on Nokia (Marvell) M0/Mx platforms. In this PR, I add them back.
In addition, I add Arista-720DT-MGX for skip.

What is the motivation for this PR?
Skip swss events in telemetry/test_events.py for Nokia-7215, Nokia-7215A1 and Arista-720DT-MGX

How did you do it?
How did you verify/test it?
Verified on Nokia-7215 Mx testbed.

Signed-off-by: Zhijian Li <zhijianli@microsoft.com>
Signed-off-by: Yael Tzur <ytzur@nvidia.com>
vmittal-msft pushed a commit that referenced this pull request Feb 2, 2026
#22195)

PR #19872 broke the test skip on Nokia (Marvell) M0/Mx platforms. In this PR, I add them back.
In addition, I add Arista-720DT-MGX for skip.

What is the motivation for this PR?
Skip swss events in telemetry/test_events.py for Nokia-7215, Nokia-7215A1 and Arista-720DT-MGX

How did you do it?
How did you verify/test it?
Verified on Nokia-7215 Mx testbed.

Signed-off-by: Zhijian Li <zhijianli@microsoft.com>
Co-authored-by: Zhijian Li <zhijianli@microsoft.com>
@rgarofano-arista
Copy link
Contributor Author

PR for 202412: Azure/sonic-mgmt.msft#989

abhishek-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Feb 6, 2026
…19872)

What is the motivation for this PR?
We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?
Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?
Ran test with and without change, test was passing with the change.
abhishek-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Feb 6, 2026
…net#22153)

PR sonic-net#19872 broke the test skip on Nokia (Marvell) M0/Mx platforms. In this PR, I add them back.
In addition, I add Arista-720DT-MGX for skip.

What is the motivation for this PR?
Skip swss events in telemetry/test_events.py for Nokia-7215, Nokia-7215A1 and Arista-720DT-MGX

How did you do it?
How did you verify/test it?
Verified on Nokia-7215 Mx testbed.

Signed-off-by: Zhijian Li <zhijianli@microsoft.com>
Anirudh-nokia pushed a commit to Anirudh-nokia/sonic-mgmt-fork that referenced this pull request Feb 6, 2026
…net#22153)

PR sonic-net#19872 broke the test skip on Nokia (Marvell) M0/Mx platforms. In this PR, I add them back.
In addition, I add Arista-720DT-MGX for skip.

What is the motivation for this PR?
Skip swss events in telemetry/test_events.py for Nokia-7215, Nokia-7215A1 and Arista-720DT-MGX

How did you do it?
How did you verify/test it?
Verified on Nokia-7215 Mx testbed.

Signed-off-by: Zhijian Li <zhijianli@microsoft.com>
Signed-off-by: ayya <anirudh.ayya@nokia.com>
lakshmi-nexthop pushed a commit to lakshmi-nexthop/sonic-mgmt that referenced this pull request Feb 11, 2026
…net#22153) (sonic-net#22195)

PR sonic-net#19872 broke the test skip on Nokia (Marvell) M0/Mx platforms. In this PR, I add them back.
In addition, I add Arista-720DT-MGX for skip.

What is the motivation for this PR?
Skip swss events in telemetry/test_events.py for Nokia-7215, Nokia-7215A1 and Arista-720DT-MGX

How did you do it?
How did you verify/test it?
Verified on Nokia-7215 Mx testbed.

Signed-off-by: Zhijian Li <zhijianli@microsoft.com>
Co-authored-by: Zhijian Li <zhijianli@microsoft.com>
Signed-off-by: Lakshmi Yarramaneni <lakshmi@nexthop.ai>
nnelluri-cisco pushed a commit to nnelluri-cisco/sonic-mgmt that referenced this pull request Feb 12, 2026
…net#22153)

PR sonic-net#19872 broke the test skip on Nokia (Marvell) M0/Mx platforms. In this PR, I add them back.
In addition, I add Arista-720DT-MGX for skip.

What is the motivation for this PR?
Skip swss events in telemetry/test_events.py for Nokia-7215, Nokia-7215A1 and Arista-720DT-MGX

How did you do it?
How did you verify/test it?
Verified on Nokia-7215 Mx testbed.

Signed-off-by: Zhijian Li <zhijianli@microsoft.com>
Signed-off-by: nnelluri-cisco <nnelluri@cisco.com>
rraghav-cisco pushed a commit to rraghav-cisco/sonic-mgmt that referenced this pull request Feb 13, 2026
…19872)

What is the motivation for this PR?
We were seeing failures while trying to verify the pfc storm event on m1 topos. This is because there is no QoS config. After inquiring with Microsoft we decided to skip this part of the test since QoS is not needed for the deployment.

How did you do it?
Refactored existing skip logic in the test which was being used for mx and m0 topos to include m1 and m2.

How did you verify/test it?
Ran test with and without change, test was passing with the change.

Signed-off-by: Raghavendran Ramanathan <rraghav@cisco.com>
rraghav-cisco pushed a commit to rraghav-cisco/sonic-mgmt that referenced this pull request Feb 13, 2026
…net#22153)

PR sonic-net#19872 broke the test skip on Nokia (Marvell) M0/Mx platforms. In this PR, I add them back.
In addition, I add Arista-720DT-MGX for skip.

What is the motivation for this PR?
Skip swss events in telemetry/test_events.py for Nokia-7215, Nokia-7215A1 and Arista-720DT-MGX

How did you do it?
How did you verify/test it?
Verified on Nokia-7215 Mx testbed.

Signed-off-by: Zhijian Li <zhijianli@microsoft.com>
Signed-off-by: Raghavendran Ramanathan <rraghav@cisco.com>
anilal-amd pushed a commit to anilal-amd/anilal-forked-sonic-mgmt that referenced this pull request Feb 19, 2026
…net#22153)

PR sonic-net#19872 broke the test skip on Nokia (Marvell) M0/Mx platforms. In this PR, I add them back.
In addition, I add Arista-720DT-MGX for skip.

What is the motivation for this PR?
Skip swss events in telemetry/test_events.py for Nokia-7215, Nokia-7215A1 and Arista-720DT-MGX

How did you do it?
How did you verify/test it?
Verified on Nokia-7215 Mx testbed.

Signed-off-by: Zhijian Li <zhijianli@microsoft.com>
Signed-off-by: Zhuohui Tan <zhuohui.tan@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants