Skip to content

[202012][advanced-reboot] IO path verification fixes for dualtor#7170

Merged
vaibhavhd merged 4 commits intosonic-net:202012from
vaibhavhd:202012-cherrypick
Jan 5, 2023
Merged

[202012][advanced-reboot] IO path verification fixes for dualtor#7170
vaibhavhd merged 4 commits intosonic-net:202012from
vaibhavhd:202012-cherrypick

Conversation

@vaibhavhd
Copy link
Copy Markdown
Contributor

Description of PR

Summary: Cherry pick for #6968
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?

Three improvements:

Present test_advanced_reboot crashes in examine_flow. This is due to packets are incorrectly matched in the code.
Additionally, added icmp_responder in the test, so that mux state is healthy during the duration of test.
Change mux config on both TORs to manual during the duration of test.
Fixes:

Identifying received packet in dualtor case -- t1->server rcvd pkt will have src MAC as vlan_mac, and server->t1 rcvd pkt will have src MAC as dut_mac
Identifying sent packet -- t1->server sent pkt will have dst MAC as dut_mac, and server->t1 sent pkt will have dst MAC as vlan_mac

How did you do it?

How did you verify/test it?

Tested on physical testbed.

Any platform specific information?

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

Documentation

@vaibhavhd vaibhavhd requested review from kellyyeh and wangxin January 4, 2023 21:25
@vaibhavhd vaibhavhd requested a review from sujinmkang as a code owner January 4, 2023 21:25
@vaibhavhd vaibhavhd merged commit b243df9 into sonic-net:202012 Jan 5, 2023
@vaibhavhd vaibhavhd deleted the 202012-cherrypick branch January 5, 2023 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants