sonic-mgmt icon indicating copy to clipboard operation
sonic-mgmt copied to clipboard

[T2][VOQ]: `bgp/test_bgp_queue.py` fails with `assert (get_queue_counters(asichost, ifname, q) == 0)`

Open arista-nwolfe opened this issue 3 months ago • 7 comments

Issue Description

In test_bgp_queue.py we are checking that the queues 0-6 are zero for all ports with eBGP neighbors. However, we don't appear to be skipping iBGP correctly on VOQ systems.

                    for q in range(0, 7):
>                       assert (get_queue_counters(asichost, ifname, q) == 0)
E                       AssertionError

(Pdb) p ifname
'Ethernet-IB0'
(Pdb) get_queue_counters(asichost,ifname,q)
Monday 28 October 2024  21:55:12 +0000 (0:04:00.674)       0:27:56.593 ********
11745
(Pdb) p k
'10.0.254.3'
(Pdb) p v["peer group"]
'VOQ_CHASSIS_V4_PEER'
> docker exec -i bgp0 vtysh -c "show ip bgp neighbor"
...
BGP neighbor is 10.0.254.3, remote AS 65100, local AS 65100, internal link
  Local Role: undefined
  Remote Role: undefined
 Description: ASIC1
Hostname: cmp206-4
 Member of peer-group VOQ_CHASSIS_V4_PEER for session parameters

Results you see

We aren't skipping iBGP neighbors on VOQ chassis

Results you expected to see

We should skip iBGP neighbors on VOQ chassis

Is it platform specific

generic

Relevant log output

No response

Output of show version

No response

Attach files (if any)

No response

arista-nwolfe avatar Oct 28 '24 23:10 arista-nwolfe