You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test test_config_fec_oper_mode is failing on some testbeds because the FEC mode is set to none for some ports. Setting the FEC mode to rs will bring the port down.
admin@str-msn2700-22:~$ show int status
Interface Lanes Speed MTU FEC Alias Vlan Oper Admin Type Asym PFC
-------------- --------------- ------- ----- ----- ------- -------------- ------ ------- --------------- ----------
Ethernet24 24,25,26,27 100G 9100 none etp7 trunk up up QSFP28 or later off
Ethernet28 28,29,30,31 100G 9100 none etp8 trunk up up QSFP28 or later off
Ethernet32 32,33,34,35 100G 9100 none etp9 trunk up up QSFP28 or later off
Ethernet36 36,37,38,39 100G 9100 none etp10 trunk up up QSFP28 or later off
The wait_until is not working properly. Test is not failing even if the port is not up. Please add an assert to check the result of wait_until.
Issue Description
There are two issues in this test
test_config_fec_oper_mode
is failing on some testbeds because the FEC mode is set tonone
for some ports. Setting the FEC mode tors
will bring the port down.wait_until
is not working properly. Test is not failing even if the port is not up. Please add an assert to check the result ofwait_until
.sonic-mgmt/tests/platform_tests/test_intf_fec.py
Line 90 in 5c2245a
Results you see
Test failed on some testbeds.
Results you expected to see
Test should pass.
Is it platform specific
generic
Relevant log output
No response
Output of
show version
No response
Attach files (if any)
No response
The text was updated successfully, but these errors were encountered: