Open slutati1536 opened 1 year ago
Description
test ipfwd/test_dir_bcast.py changed compared to 202205, now it includes get_ptf_src_ports which uses UPSTREAM_NEIGHBOR_MAP which don't include key for topology t0-64
UPSTREAM_NEIGHBOR_MAP = { "t0": "t1", "t1": "t2", "m0": "m1", "mx": "m0", "t2": "t3", "m0_vlan": "m1", "m0_l3": "m1" } Steps to reproduce the issue:
Describe the results you received:
def get_ptf_src_ports(topo_type, tbinfo, duthost): # Source ports are upstream ports
upstream_neightbor_name = UPSTREAM_NEIGHBOR_MAP[topo_type] E KeyError: 't0-64'
upstream_neightbor_name = UPSTREAM_NEIGHBOR_MAP[topo_type]
E KeyError: 't0-64'
duthost = tbinfo = {'comment': 'Mellanox MTR testbed', 'conf-name': 'r-tigris-04-t0-64', 'duts': ['r-tigris-04'], 'duts_map': {'r-tigris-04': 0}, ...} topo_type = 't0-64'
ipfwd/test_dir_bcast.py:22: KeyError
Describe the results you expected: test should not fail over test issue on t0-64 topo
Additional information you deem important: Output of show version:
show version
SONiC Software Version: SONiC.202211_RC8.3-696a6a43b_Internal Distribution: Debian 11.6 Kernel: 5.10.0-18-2-amd64 Build commit: 696a6a43b Build date: Mon Mar 27 10:50:51 UTC 2023 Built by: sw-r2d2-bot@r-build-sonic-ci03-244 Platform: x86_64-mlnx_msn4600c-r0 HwSKU: Mellanox-SN4600C-C64 ASIC: mellanox ASIC Count: 1 Serial Number: MT2131X10295 Model Number: MSN4600-CS2FO Hardware Revision: A1 Uptime: 13:16:06 up 13:25, 2 users, load average: 1.37, 1.34, 1.30 Date: Tue 28 Mar 2023 13:16:06 Docker images: REPOSITORY TAG IMAGE ID SIZE docker-orchagent 202211_RC8.3-696a6a43b_Internal 84055ebb4c77 539MB docker-orchagent latest 84055ebb4c77 539MB docker-fpm-frr 202211_RC8.3-696a6a43b_Internal 83d5f57abddb 550MB docker-fpm-frr latest 83d5f57abddb 550MB docker-teamd 202211_RC8.3-696a6a43b_Internal e6b58409a5c6 520MB docker-teamd latest e6b58409a5c6 520MB docker-macsec latest d76f633dda63 522MB docker-syncd-mlnx 202211_RC8.3-696a6a43b_Internal 2bd090589266 939MB docker-syncd-mlnx latest 2bd090589266 939MB docker-platform-monitor 202211_RC8.3-696a6a43b_Internal 4fcfc27b9bbe 942MB docker-platform-monitor latest 4fcfc27b9bbe 942MB docker-sonic-telemetry 202211_RC8.3-696a6a43b_Internal be9f9e750657 802MB docker-sonic-telemetry latest be9f9e750657 802MB docker-snmp 202211_RC8.3-696a6a43b_Internal 62432cf85f40 549MB docker-snmp latest 62432cf85f40 549MB docker-eventd 202211_RC8.3-696a6a43b_Internal 855b7c3d7218 503MB docker-eventd latest 855b7c3d7218 503MB docker-dhcp-relay latest c90d1c5967eb 513MB docker-lldp 202211_RC8.3-696a6a43b_Internal e33be345d3f2 546MB docker-lldp latest e33be345d3f2 546MB docker-mux 202211_RC8.3-696a6a43b_Internal e9f6fa7ef277 552MB docker-mux latest e9f6fa7ef277 552MB docker-database 202211_RC8.3-696a6a43b_Internal 9cae58961a25 503MB docker-database latest 9cae58961a25 503MB docker-sonic-p4rt 202211_RC8.3-696a6a43b_Internal 77b20e5b758d 586MB docker-sonic-p4rt latest 77b20e5b758d 586MB docker-router-advertiser 202211_RC8.3-696a6a43b_Internal f3a99688e9df 503MB docker-router-advertiser latest f3a99688e9df 503MB docker-sflow 202211_RC8.3-696a6a43b_Internal 780973343beb 479MB docker-sflow latest 780973343beb 479MB docker-nat 202211_RC8.3-696a6a43b_Internal 83454bb6925c 481MB docker-nat latest 83454bb6925c 481MB docker-sonic-mgmt-framework 202211_RC8.3-696a6a43b_Internal 20cfc12ab3c5 612MB docker-sonic-mgmt-framework latest 20cfc12ab3c5 612MB urm.nvidia.com/sw-nbu-sws-sonic-docker/doroce 1.1.0-202211-internal-5 078ba366e374 200MB urm.nvidia.com/sw-nbu-sws-sonic-docker/sonic-wjh 1.4.0-202211-internal-5 b4f92852d9ca 323MB
The issue should be fixed by PR https://github.com/sonic-net/sonic-mgmt/pull/8009. Can you pull the latest code and rerun the test?
Description
test ipfwd/test_dir_bcast.py changed compared to 202205, now it includes get_ptf_src_ports which uses UPSTREAM_NEIGHBOR_MAP which don't include key for topology t0-64
Describe upstream neighbor of dut in different topos
UPSTREAM_NEIGHBOR_MAP = { "t0": "t1", "t1": "t2", "m0": "m1", "mx": "m0", "t2": "t3", "m0_vlan": "m1", "m0_l3": "m1" } Steps to reproduce the issue:
Describe the results you received:
duthost =
tbinfo = {'comment': 'Mellanox MTR testbed', 'conf-name': 'r-tigris-04-t0-64', 'duts': ['r-tigris-04'], 'duts_map': {'r-tigris-04': 0}, ...}
topo_type = 't0-64'
ipfwd/test_dir_bcast.py:22: KeyError
Describe the results you expected: test should not fail over test issue on t0-64 topo
Additional information you deem important: Output of
show version
: