Skip to content

[ptf_runner_reboot] cleanup ARP/FDB after test#1189

Merged
lguohan merged 1 commit intosonic-net:masterfrom
stepanblyschak:cleanup_reboot
Nov 23, 2019
Merged

[ptf_runner_reboot] cleanup ARP/FDB after test#1189
lguohan merged 1 commit intosonic-net:masterfrom
stepanblyschak:cleanup_reboot

Conversation

@stepanblyschak
Copy link
Contributor

Signed-off-by: Stepan Blyschak [email protected]

Description of PR

Summary:
Fixes # (issue)

Type of change

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

Approach

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

@stepanblyschak
Copy link
Contributor Author

@neethajohn The motivation is to cleanup after test.

E.g in our regression run we have the following order of test execution:
Fast-Reboot, CRM. After fast reboot there are FDB, ARP entries untill they expire. CRM test fails when some FDB expires, because it affects other resources count.

What is the problem with cleanup? What was the root cause of t1->server traffic loss with fdb flush?
The test should repopulate FDB

@liat-grozovik
Copy link
Collaborator

IMO each test should be standalone and make sure the next one is not affected.

@lguohan
Copy link
Contributor

lguohan commented Nov 8, 2019

for warm reboot, you should not clear the mac, since it can cause data plane disruption.

@stepanblyschak
Copy link
Contributor Author

@lguohan This is after the test, after PTF run finished we don't run test traffic so don't care about disruption

@neethajohn
Copy link
Contributor

neethajohn commented Nov 8, 2019

@neethajohn The motivation is to cleanup after test.
E.g in our regression run we have the following order of test execution:
Fast-Reboot, CRM. After fast reboot there are FDB, ARP entries untill they expire. CRM test fails when some FDB expires, because it affects other resources count.
What is the problem with cleanup? What was the root cause of t1->server traffic loss with fdb flush?
The test should repopulate FDB

Let me try out this patch on the platforms where I was seeing an issue earlier.

I ran the test multiple times. I am unable to get the fast reboot to run after 1 iteration of the test run (after arp and fdb clear). Received packet count is always 1 or 2 less than send for t1->server. Can you add this change conditionally only for Mellanox SKU's?

@qiluo-msft qiluo-msft requested a review from lguohan November 19, 2019 21:35
@qiluo-msft qiluo-msft assigned lguohan and qiluo-msft and unassigned qiluo-msft Nov 19, 2019
@lguohan lguohan merged commit 7d83edc into sonic-net:master Nov 23, 2019
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
Update sonic-sairedis submodule pointer to include the following:

0994449 [asan] suppress the static variable leaks (sonic-net#1085) (sonic-net#1159)
6fc86a9 Switch to using stock gcovr 5.2 (sonic-net#1174) (sonic-net#1190)
e7ded51 Create fabric ports for switch_type fabric (sonic-net#1189)
f498261 * Add Voqs to Virtual Switch (sonic-net#1162)

Signed-off-by: Yakiv Huryk <[email protected]>
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
c0df6355deb8bc3685395f727983a5e9f3b06f61 (HEAD -> 201911, origin/201911) Updates to bgp config and show commands with BGP_INTERNAL_NEIGHBOR table (sonic-net#1224) (sonic-net#1237)
d683bb48604220942b9f6bdea90c0ea4ff4f72ef [CLI][show][platform] Added ASIC count in the output. (sonic-net#1185) (sonic-net#1227)
4585be10aa8e761ce1091ac4a20e562c2550970c [show] Fix 'show int neigh expected' (sonic-net#1189)
29e4469d5e6c5058fe20c1ce71790f69b7193e7e [201911][fwutil]: Use logger from sonic-py-common (sonic-net#1190)

Signed-off-by: Abhishek Dosi <[email protected]>
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.

6 participants