Update icmp_responder to only respond only linkmgrd requests#9089
Merged
zjswhhh merged 1 commit intosonic-net:masterfrom Jul 25, 2023
Merged
Update icmp_responder to only respond only linkmgrd requests#9089zjswhhh merged 1 commit intosonic-net:masterfrom
icmp_responder to only respond only linkmgrd requests#9089zjswhhh merged 1 commit intosonic-net:masterfrom
Conversation
mssonicbld
pushed a commit
to mssonicbld/sonic-mgmt
that referenced
this pull request
Aug 4, 2023
…-net#9089) Summary: Fixes # (issue) To make sure `icmp_responder` only replies ICMP requests sent by linkmgrd, So 1. it won't reply packets from other tests. 2. to be consistent with production behavior sign-off: Jing Zhang zhangjing@microsoft.com
Collaborator
|
Cherry-pick PR to 202205: #9293 |
6 tasks
mssonicbld
pushed a commit
that referenced
this pull request
Aug 4, 2023
Summary: Fixes # (issue) To make sure `icmp_responder` only replies ICMP requests sent by linkmgrd, So 1. it won't reply packets from other tests. 2. to be consistent with production behavior sign-off: Jing Zhang zhangjing@microsoft.com
6 tasks
vaibhavhd
added a commit
that referenced
this pull request
Aug 23, 2023
…unt for sent and rcvd packets (#9599) Summary: Currently dual tor warmboot fails w/ control plane not ready for warmboot. This is because the test expects 2 responses for every ping packet sent to Loopback. This expectation is not correct after PR #9089 is merged. Update the testcase to now only expect 1 icmp response for every icmp packet sent to Loopback0. Updated the test to remove the earlier expectation of removing the packets that were sent by icmp_responder. This essentially reverts part of older PR: #6968 How did you verify/test it? Tested on a physical testbed and this test issue is not seen. The test is now able to see the responses of ping packets
6 tasks
mssonicbld
pushed a commit
to mssonicbld/sonic-mgmt
that referenced
this pull request
Aug 29, 2023
…unt for sent and rcvd packets (sonic-net#9599) Summary: Currently dual tor warmboot fails w/ control plane not ready for warmboot. This is because the test expects 2 responses for every ping packet sent to Loopback. This expectation is not correct after PR sonic-net#9089 is merged. Update the testcase to now only expect 1 icmp response for every icmp packet sent to Loopback0. Updated the test to remove the earlier expectation of removing the packets that were sent by icmp_responder. This essentially reverts part of older PR: sonic-net#6968 How did you verify/test it? Tested on a physical testbed and this test issue is not seen. The test is now able to see the responses of ping packets
mssonicbld
pushed a commit
that referenced
this pull request
Aug 29, 2023
…unt for sent and rcvd packets (#9599) Summary: Currently dual tor warmboot fails w/ control plane not ready for warmboot. This is because the test expects 2 responses for every ping packet sent to Loopback. This expectation is not correct after PR #9089 is merged. Update the testcase to now only expect 1 icmp response for every icmp packet sent to Loopback0. Updated the test to remove the earlier expectation of removing the packets that were sent by icmp_responder. This essentially reverts part of older PR: #6968 How did you verify/test it? Tested on a physical testbed and this test issue is not seen. The test is now able to see the responses of ping packets
zjswhhh
pushed a commit
to zjswhhh/sonic-mgmt
that referenced
this pull request
Sep 20, 2023
…unt for sent and rcvd packets (sonic-net#9599) Summary: Currently dual tor warmboot fails w/ control plane not ready for warmboot. This is because the test expects 2 responses for every ping packet sent to Loopback. This expectation is not correct after PR sonic-net#9089 is merged. Update the testcase to now only expect 1 icmp response for every icmp packet sent to Loopback0. Updated the test to remove the earlier expectation of removing the packets that were sent by icmp_responder. This essentially reverts part of older PR: sonic-net#6968 How did you verify/test it? Tested on a physical testbed and this test issue is not seen. The test is now able to see the responses of ping packets
wangxin
pushed a commit
that referenced
this pull request
Sep 28, 2023
…unt for sent and rcvd packets (#9599) (#10068) Raising PR for cherry-pick conflict: 225e257 [advanced-reboot][dualtor] Update Loopback0 ping test: expect same count for sent and rcvd packets (#9599) Summary: Currently dual tor warmboot fails w/ control plane not ready for warmboot. This is because the test expects 2 responses for every ping packet sent to Loopback. This expectation is not correct after PR #9089 is merged. Update the testcase to now only expect 1 icmp response for every icmp packet sent to Loopback0. Updated the test to remove the earlier expectation of removing the packets that were sent by icmp_responder. This essentially reverts part of older PR: #6968 How did you verify/test it? Tested on a physical testbed and this test issue is not seen. The test is now able to see the responses of ping packets Co-authored-by: Vaibhav Hemant Dixit <vaibhav.dixit@microsoft.com>
AharonMalkin
pushed a commit
to AharonMalkin/sonic-mgmt
that referenced
this pull request
Jan 25, 2024
…-net#9089) Summary: Fixes # (issue) To make sure `icmp_responder` only replies ICMP requests sent by linkmgrd, So 1. it won't reply packets from other tests. 2. to be consistent with production behavior sign-off: Jing Zhang zhangjing@microsoft.com
AharonMalkin
pushed a commit
to AharonMalkin/sonic-mgmt
that referenced
this pull request
Jan 25, 2024
…unt for sent and rcvd packets (sonic-net#9599) Summary: Currently dual tor warmboot fails w/ control plane not ready for warmboot. This is because the test expects 2 responses for every ping packet sent to Loopback. This expectation is not correct after PR sonic-net#9089 is merged. Update the testcase to now only expect 1 icmp response for every icmp packet sent to Loopback0. Updated the test to remove the earlier expectation of removing the packets that were sent by icmp_responder. This essentially reverts part of older PR: sonic-net#6968 How did you verify/test it? Tested on a physical testbed and this test issue is not seen. The test is now able to see the responses of ping packets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
Summary:
Fixes # (issue)
To make sure
icmp_responderonly replies ICMP requests sent by linkmgrd, Sosign-off: Jing Zhang zhangjing@microsoft.com
Type of change
Back port request
Approach
What is the motivation for this PR?
How did you do it?
How did you verify/test it?
Run
test_normal_opcase.Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation