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] [test_fib] [dualtor aa]: Nvgre and vxlan hash cases failed due to its relay on the active_dut_map which is generated based on mux simulater #17214

Open
echuawu opened this issue Feb 27, 2025 · 0 comments
Labels

Comments

@echuawu
Copy link
Contributor

echuawu commented Feb 27, 2025

Issue Type

Bug Report

Description

The new added cases test_nvgre_hash and test_vxlan_hash of tests/fib/test_fib.py failed at dualtor aa testbed due to:

            if len(list(dut_intf_map.keys())) == 2:
                # PTF port is mapped to two DUTs -> dualtor topology and the PTF port is a vlan port
                # Packet sent from this ptf port will only be accepted by the active side DUT
                # DualToR DUTs use same special Vlan interface MAC address
>               target_dut_index = int(active_dut_map[ptf_port])
E               KeyError: '0'

Issue Details

The root cause of this failure is that the test rely on the function ptf_test_port_map in tests.common.fixtures.ptfhost_utils, and the function ptf_test_port_map is based on the mux simulater. It fetch information from 'http://r-r640-16:8083/mux/vm-t1'.

On dualtor aa testbed, it should based on the nic simulator to get the ptf port mapping.

Impact or Proposed Behavior

The new added test cases could not run PASS.

Importance or Severity

Critical

Is it platform specific

generic

Relevant log output

Output of show version

Attach files (if any)

No response

@mssonicbld mssonicbld added the bug label Feb 27, 2025
echuawu added a commit to echuawu/sonic-mgmt that referenced this issue Feb 28, 2025
…net#17212 sonic-net#17214 #20414 sonic-net#17252

Skip ipv6 everflow test on dualtor setup due to git hub issue sonic-net#17209
Skip pfcwd cli test on dualtor aa testbed due to github issue sonic-net#17218
Skip L2 configuration test on dualtor setup due to git hub issue sonic-net#17212
Skip nvgre and vxlan hash case in fib test on dualtor aa testbed due to sonic-net#17214
Skip test_po_cleanup_after_reload test on dualtor setup due to github issue #20414
Skip test_pfc_pause_extra_lossless_active test on mellanox platform due to github issue sonic-net#17252
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants