Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: [T2][Chassis] - 'test_bgp_queue' fails with one extra packet on queue UC6 #16391

Open
sanjair-git opened this issue Jan 8, 2025 · 0 comments
Assignees
Labels

Comments

@sanjair-git
Copy link
Contributor

Issue Description

On T2 chassis, we see 'test_bgp_queue' test fails with the following assertion error. It is expected that except queue 7, all other counter values for queues 0-6 should be zero. But in this case, we see one packet during test run on queue 6.

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

FYI, the same test passes on many other DUTs.

Results you see

sudo show queue counters {interface-name} -n asic0

Last cached time for asic0 was 2025-01-04T09:14:43.451676
Ethernet96 Last cached time for asic0 was 2025-01-04T09:14:43.451676
      Port    TxQ    Counter/pkts    Counter/bytes    Drop/pkts    Drop/bytes
----------  -----  --------------  ---------------  -----------  ------------
Ethernet96    UC0               0                0            0             0
Ethernet96    UC1               0                0            0             0
Ethernet96    UC2               0                0            0             0
Ethernet96    UC3               0                0            0             0
Ethernet96    UC4               0                0            0             0
Ethernet96    UC5               0                0            0             0
Ethernet96    UC6               1               82            0             0    ==========> Extra packet
Ethernet96    UC7             205           18,875            0             0
Ethernet96    MC8               0                0            0             0
Ethernet96    MC9               0                0            0             0
Ethernet96   MC10               0                0            0             0
Ethernet96   MC11               0                0            0             0
Ethernet96   MC12               0                0            0             0
Ethernet96   MC13               0                0            0             0
Ethernet96   MC14               0                0            0             0
Ethernet96   MC15               0                0            0             0

Results you expected to see

Except queue 7, for all other queues, Counter/pkts value should be zero during the test run.

Is it platform specific

broadcom

Relevant log output

logger.info(ifname)
                    for q in range(0, 7):
>                       assert(get_queue_counters(asichost, ifname, q) == 0)
E                       AssertionError
Last cached time for asic0 was 2025-01-04T09:14:43.451676
Ethernet96 Last cached time for asic0 was 2025-01-04T09:14:43.451676
      Port    TxQ    Counter/pkts    Counter/bytes    Drop/pkts    Drop/bytes
----------  -----  --------------  ---------------  -----------  ------------
Ethernet96    UC0               0                0            0             0
Ethernet96    UC1               0                0            0             0
Ethernet96    UC2               0                0            0             0
Ethernet96    UC3               0                0            0             0
Ethernet96    UC4               0                0            0             0
Ethernet96    UC5               0                0            0             0
Ethernet96    UC6               1               82            0             0    ==========> Extra packet
Ethernet96    UC7             205           18,875            0             0
Ethernet96    MC8               0                0            0             0
Ethernet96    MC9               0                0            0             0
Ethernet96   MC10               0                0            0             0
Ethernet96   MC11               0                0            0             0
Ethernet96   MC12               0                0            0             0
Ethernet96   MC13               0                0            0             0
Ethernet96   MC14               0                0            0             0
Ethernet96   MC15               0                0            0             0


### Output of `show version`

```shell
SONiC Software Version: SONiC.HEAD.911514-202405-eded7e52f
SONiC OS Version: 12
Distribution: Debian 12.8
Kernel: 6.1.0-22-2-amd64
Build commit: eded7e52f
Build date: Fri Jan  3 22:41:31 UTC 2025

Attach files (if any)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants