sonic-net / sonic-mgmt

Configuration management examples for SONiC
Other
200 stars 732 forks source link

[Bug][202405]: Remote module mismatch for port in test_fabric_reach.py #15753

Open arista-hpandya opened 2 days ago

arista-hpandya commented 2 days ago

Issue Description

The test fails on our T2 testbed because the supervisorAsicBase offset added to the remote module number creates a mismatch with the value fetched by the CLI from the STATE_DB

A simple fix would be to remove the supervisorAsicBase offset from the remote module number calculation here: https://github.com/sonic-net/sonic-mgmt/blob/037f80a7e95988af7f87fcb372dc0d17d4d748da/tests/voq/test_fabric_reach.py#L141

Results you see

Failed: Remote module mismatch for port 0

Results you expected to see

We expect the test to pass

Is it platform specific

generic

Relevant log output

No response

Output of show version

SONiC Software Version: SONiC.branch.202405-ars.a2ba5e5c-buildimage.origin.202405-nightly-2024.11.24.22.44
SONiC OS Version: 12
Distribution: Debian 12.8
Kernel: 6.1.0-22-2-amd64
Build commit: a4aa25a7f
Build date: Mon Nov 25 04:16:46 UTC 2024
Built by: jenkins@jenkins-arsonic-k8s-6-j8lwz

Platform: x86_64-arista_7800r3ak_36dm2_lc
HwSKU: Arista-7800R3AK-36DM2-C36
ASIC: broadcom
ASIC Count: 2
Serial Number: SSN21060161
Model Number: 7800R3AK-36DM2-LC
Hardware Revision: 29.00
Uptime: 22:36:24 up 1 day,  4:56,  1 user,  load average: 1.28, 1.55, 1.62
Date: Tue 26 Nov 2024 22:36:24

Attach files (if any)

No response