Skip to content

[VRF] Arista VM can not receive keepalive message during the hold time. #1657

@Minkang-Tsai

Description

@Minkang-Tsai

Description
Some of the test cases will run PTF to send/receive packet to verify expected result, but sometimes passed or sometimes failed. In further check, we found BGP connection will be broken during the test, because Arista VM can not receive keepalive message during the hold time.

Steps to reproduce the issue:
Run test_vrf_swss_warm_reboot directly.

Describe the results you received:
Arista VM can not receive the keepalive message over the hold time.

06:26:04.979363 80:a2:35:46:09:99 (oui Unknown) > 52:54:00:df:de:9c (oui Unknown), ethertype IPv4 (0x0800), length 85: (tos 0xc0, ttl 1, id 58225, offset 0, flags [DF], proto TCP (6), length 71)
    10.0.0.58.bgp > 10.0.0.59.44301: Flags [P.], seq 209:228, ack 210, win 2174, options [nop,nop,TS val 271873 ecr 635973], length 19: BGP
	Keepalive Message (4), length: 19
06:26:05.163852 80:a2:35:46:09:99 (oui Unknown) > 52:54:00:df:de:9c (oui Unknown), ethertype IPv4 (0x0800), length 66: (tos 0xc0, ttl 1, id 58226, offset 0, flags [DF], proto TCP (6), length 52)
    10.0.0.58.bgp > 10.0.0.59.44301: Flags [.], ack 229, win 2174, options [nop,nop,TS val 271900 ecr 636723], length 0
06:26:05.206385 80:a2:35:46:09:99 (oui Unknown) > 52:54:00:df:de:9c (oui Unknown), ethertype IPv4 (0x0800), length 78: (tos 0xc0, ttl 1, id 58227, offset 0, flags [DF], proto TCP (6), length 64)
    10.0.0.58.bgp > 10.0.0.59.44301: Flags [.], ack 229, win 2174, options [nop,nop,TS val 271902 ecr 636810,nop,nop,sack 1 {210:229}], length 0
06:26:05.212436 80:a2:35:46:09:99 (oui Unknown) > 52:54:00:df:de:9c (oui Unknown), ethertype IPv4 (0x0800), length 78: (tos 0xc0, ttl 1, id 58228, offset 0, flags [DF], proto TCP (6), length 64)
    10.0.0.58.bgp > 10.0.0.59.44301: Flags [.], ack 229, win 2174, options [nop,nop,TS val 271902 ecr 636924,nop,nop,sack 1 {210:229}], length 0
06:26:17.317053 80:a2:35:46:09:99 (oui Unknown) > 52:54:00:df:de:9c (oui Unknown), ethertype IPv4 (0x0800), length 142: (tos 0xc0, ttl 1, id 58238, offset 0, flags [DF], proto TCP (6), length 128)
    10.0.0.58.bgp > 10.0.0.59.44301: Flags [FP.], seq 228:304, ack 270, win 2174, options [nop,nop,TS val 274816 ecr 639587], length 76: BGP
	Keepalive Message (4), length: 19
	Keepalive Message (4), length: 19
	Keepalive Message (4), length: 19
	Keepalive Message (4), length: 19

Describe the results you expected:
Arista VM will receive keepalive message every 3 seconds.

06:25:46.781116 80:a2:35:46:09:99 (oui Unknown) > 52:54:00:df:de:9c (oui Unknown), ethertype IPv4 (0x0800), length 85: (tos 0xc0, ttl 1, id 58213, offset 0, flags [DF], proto TCP (6), length 71)
    10.0.0.58.bgp > 10.0.0.59.44301: Flags [P.], seq 114:133, ack 115, win 2174, options [nop,nop,TS val 267905 ecr 632223], length 19: BGP
	Keepalive Message (4), length: 19
06:25:46.822937 80:a2:35:46:09:99 (oui Unknown) > 52:54:00:df:de:9c (oui Unknown), ethertype IPv4 (0x0800), length 66: (tos 0xc0, ttl 1, id 58214, offset 0, flags [DF], proto TCP (6), length 52)
    10.0.0.58.bgp > 10.0.0.59.44301: Flags [.], ack 134, win 2174, options [nop,nop,TS val 267918 ecr 632973], length 0
06:25:49.779473 80:a2:35:46:09:99 (oui Unknown) > 52:54:00:df:de:9c (oui Unknown), ethertype IPv4 (0x0800), length 85: (tos 0xc0, ttl 1, id 58215, offset 0, flags [DF], proto TCP (6), length 71)
    10.0.0.58.bgp > 10.0.0.59.44301: Flags [P.], seq 133:152, ack 134, win 2174, options [nop,nop,TS val 268655 ecr 632973], length 19: BGP
	Keepalive Message (4), length: 19
06:25:49.821846 80:a2:35:46:09:99 (oui Unknown) > 52:54:00:df:de:9c (oui Unknown), ethertype IPv4 (0x0800), length 66: (tos 0xc0, ttl 1, id 58216, offset 0, flags [DF], proto TCP (6), length 52)
    10.0.0.58.bgp > 10.0.0.59.44301: Flags [.], ack 153, win 2174, options [nop,nop,TS val 268668 ecr 633723], length 0
06:25:52.780241 80:a2:35:46:09:99 (oui Unknown) > 52:54:00:df:de:9c (oui Unknown), ethertype IPv4 (0x0800), length 85: (tos 0xc0, ttl 1, id 58217, offset 0, flags [DF], proto TCP (6), length 71)
    10.0.0.58.bgp > 10.0.0.59.44301: Flags [P.], seq 152:171, ack 153, win 2174, options [nop,nop,TS val 269405 ecr 633723], length 19: BGP
	Keepalive Message (4), length: 19

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions