Skip to content

[action] [PR:12151] Fix Qos Xon Test#12885

Merged
mssonicbld merged 1 commit intosonic-net:202311from
mssonicbld:cherry/202311/12151
May 17, 2024
Merged

[action] [PR:12151] Fix Qos Xon Test#12885
mssonicbld merged 1 commit intosonic-net:202311from
mssonicbld:cherry/202311/12151

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Description of PR

Without this PR the Qos tests would fail on testQosSaiPfcXonLimit, because step 1 of the tests, which disable TX for dst_port_id, dst_port_2_id, dst_port_3_id is getting incorrect DST ports

Test was broken by: #9780

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205
  • 202305
  • 202311

Approach

What is the motivation for this PR?

With my fix:
step 1: disable TX for dst_port_id, dst_port_2_id, dst_port_3_id
[dst_port_id, dst_port_2_id, dst_port_3_id] = [1, 3, 4]

Without my fix:
step 1: disable TX for dst_port_id, dst_port_2_id, dst_port_3_id
[dst_port_id, dst_port_2_id, dst_port_3_id] = [1, 1, 1]

How did you do it?

Run the tests to find the root cause of the failure

How did you verify/test it?

Run the tests with my fix to see that the tests are passing

Any platform-specific information?

tests only failed on SN2700 with t0 topology
and SN4700 with t0-56-o8v48/t1-28-lag

Without this PR the Qos tests would fail on testQosSaiPfcXonLimit, because step 1 of the tests, which disable TX for dst_port_id, dst_port_2_id, dst_port_3_id is getting incorrect DST ports

Test was broken by sonic-net#9780
@mssonicbld mssonicbld mentioned this pull request May 17, 2024
8 tasks
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #12151

@mssonicbld mssonicbld merged commit 250fa48 into sonic-net:202311 May 17, 2024
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.

2 participants