sonic-mgmt icon indicating copy to clipboard operation
sonic-mgmt copied to clipboard

test_iface_namingmode::TestConfigInterface::test_config_interface_speed

Open vperumal opened this issue 1 year ago • 3 comments

Description

Testcase fails on 400G ports because configuring 400G speed via CLI is unsupported on sonic

config interface -n asic1 speed Ethernet120 400000

Failed: Processes "['analyze_logs--<MultiAsicSonicHost sfd-lt2-lc1>']" failed with exit code "1" Exception: match: 6 expected_match: 0 expected_missing_match: 0

Match Messages: Mar 17 15:15:24.067623 sfd-lt2-lc1 ERR swss1#orchagent: :- doPortTask: Unsupported port Ethernet120 speed 400000

Mar 17 15:15:24.070198 sfd-lt2-lc1 ERR swss1#orchagent: :- doPortTask: Unsupported port Ethernet120 speed 400000

Mar 17 15:15:24.072299 sfd-lt2-lc1 ERR swss1#orchagent: :- doPortTask: Unsupported port Ethernet120 speed 400000

Mar 17 15:15:26.056587 sfd-lt2-lc1 ERR swss1#orchagent: :- doPortTask: Unsupported port Ethernet120 speed 400000

Mar 17 15:15:26.058886 sfd-lt2-lc1 ERR swss1#orchagent: :- doPortTask: Unsupported port Ethernet120 speed 400000

Mar 17 15:15:26.060914 sfd-lt2-lc1 ERR swss1#orchagent: :- doPortTask: Unsupported port Ethernet120 speed 400000

vperumal avatar Mar 26 '24 23:03 vperumal

FYI @abdosi @anamehra @rajendrat

vperumal avatar Mar 26 '24 23:03 vperumal

@mlok-nokia @arista-nwolfe do we have this issue

abdosi avatar Oct 31 '24 23:10 abdosi

On Master. I got the following warning when config speed on 400G port:

@mlok-nokia @arista-nwolfe do we have this issue On Master. I got the following warning when config speed on 400G port. I don't think DNX supports dynamic config on port speed.

2024 Nov  1 00:38:20.350056 ixre-egl-board41 NOTICE swss0#buffermgrd: :- doSpeedUpdateTask: Reusing existing profile 'pg_lossless_400000_2000m_profile'
2024 Nov  1 00:38:20.350634 ixre-egl-board41 NOTICE swss0#buffermgrd: :- doSpeedUpdateTask: PG to Buffer Profile Mapping Ethernet0|3-4 already present
2024 Nov  1 00:38:20.351099 ixre-egl-board41 WARNING swss0#orchagent: :- parsePortConfig: Unknown field(num_voq): skipping ...
2024 Nov  1 00:38:20.351099 ixre-egl-board41 WARNING swss0#orchagent: :- parsePortConfig: Unknown field(core_port_id): skipping ...
2024 Nov  1 00:38:20.351099 ixre-egl-board41 WARNING swss0#orchagent: :- parsePortConfig: Unknown field(core_id): skipping ...
2024 Nov  1 00:38:20.351099 ixre-egl-board41 WARNING swss0#orchagent: :- parsePortConfig: Unknown field(asic_port_name): skipping ...
2024 Nov  1 00:38:20.351242 ixre-egl-board41 WARNING swss0#orchagent: :- doPortTask: Port Ethernet0 asymmetric PFC configuration is not supported: skipping ...
2024 Nov  1 00:38:20.354754 ixre-egl-board41 NOTICE swss0#portmgrd: :- doTask: Configure Ethernet0 MTU to 9100
2024 Nov  1 00:38:20.359591 ixre-egl-board41 NOTICE swss0#portmgrd: :- doTask: Configure Ethernet0 admin status to up

mlok-nokia avatar Nov 01 '24 00:11 mlok-nokia

cli config not supported in t2 image currently, skipping this test for t2s for now. @abdosi confirm for the PR, thanks.

rlhui avatar Jan 29 '25 18:01 rlhui

@vperumal can you please link the test PR to fix this failure and close this issue if not seen anymore.

arlakshm avatar Mar 26 '25 17:03 arlakshm

https://github.com/sonic-net/sonic-mgmt/pull/15761 and https://github.com/sonic-net/sonic-mgmt/pull/15963

vperumal avatar Apr 02 '25 15:04 vperumal