Skip to content

Update test_po_update.py#8684

Merged
kevinskwang merged 1 commit intosonic-net:masterfrom
jhli-cisco:patch-2
Jul 21, 2023
Merged

Update test_po_update.py#8684
kevinskwang merged 1 commit intosonic-net:masterfrom
jhli-cisco:patch-2

Conversation

@jhli-cisco
Copy link
Copy Markdown
Contributor

@jhli-cisco jhli-cisco commented Jun 21, 2023

Description of PR

On certain servers we have seen the test_po_update_io_no_loss case failed because of excessive packet loss. The reason is the Arista VM couldn't receive the LACP update events from DUT due to cpu resource contention. Adding sleep(0) in the packet sending thread for a chance to yield CPU solved the problem.

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

How did you do it?

How did you verify/test it?

Any platform specific information?

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

Documentation

@mssonicbld
Copy link
Copy Markdown
Collaborator

@jhli-cisco PR conflicts with 202205 branch

@jhli-cisco jhli-cisco mentioned this pull request Jul 27, 2023
6 tasks
wangxin pushed a commit that referenced this pull request Aug 1, 2023
Since #8684 could not be ported over by pipeline, open this PR to merge to 202205 branch only.
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Jan 25, 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.

4 participants