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

[Nokia] Add J2C+/H3/H4/H5 to GCU validator

Open dgodwin-nokia opened this issue 1 year ago • 2 comments

  • Add Nokia platforms to GCU validator .json file

What I did

Nokia J2C/TH3/4/5 based platforms were not included in the GCU field validators file. This caused some of the sonic-mgmt test cases to fail related to PFCWD/BUFFER_POOL/BUFFER_PROFILE/WRED due to apply-patch validation failing. Added the platforms.

This PR is required for 202405.

How to verify it

Validated that sonic-mgmt GCU tests now pass.

dgodwin-nokia avatar Aug 23 '24 12:08 dgodwin-nokia

CLA Signed

The committers listed above are authorized under a signed CLA.

  • :white_check_mark: login: dgodwin-nokia / name: Dylan Godwin (5aa2d3a461e308228b87775d11b6d1bb328a6266)

@prgeor Hi Prince, Could you please review this PR to assign it to the person? Thanks

mlok-nokia avatar Aug 23 '24 13:08 mlok-nokia

@judyjoseph @prgeor @rlhui @xincunli-sonic Please help to review this PR. It is needed by 202405 branch also

mlok-nokia avatar Sep 13 '24 15:09 mlok-nokia

Can you help provide more info, like any issue that is tracking sonic-mgmt test failure, also can you share the sonic-mgmt GCU tests passed details, Thanks!

xincunli-sonic avatar Sep 13 '24 15:09 xincunli-sonic

@okaravasi Can you please address the comment above?

mlok-nokia avatar Sep 13 '24 16:09 mlok-nokia

Can you help provide more info, like any issue that is tracking sonic-mgmt test failure, also can you share the sonic-mgmt GCU tests passed details, Thanks!

@xincunli-sonic Suggested changes are needed to pass below test suites:

  • generic_config_updater/test_pg_headroom_update.py
  • generic_config_updater/test_mmu_dynamic_threshold_config_update.py
  • generic_config_updater/test_ecn_config_update.py

That they perform changes in cfg paths /BUFFER_PROFILE, /WRED_PROFILE.

okaravasi avatar Sep 13 '24 16:09 okaravasi

Can you help provide more info, like any issue that is tracking sonic-mgmt test failure, also can you share the sonic-mgmt GCU tests passed details, Thanks!

@xincunli-sonic Suggested changes are needed to pass below test suites:

  • generic_config_updater/test_pg_headroom_update.py
  • generic_config_updater/test_mmu_dynamic_threshold_config_update.py
  • generic_config_updater/test_ecn_config_update.py

That they perform changes in cfg paths /BUFFER_PROFILE, /WRED_PROFILE.

Were they failing in 202405 or something else, do we have github issue tracking it? And as you mentioned in top description that you did pass these tests by the new change, can you share the output where took your change, Thanks!

xincunli-sonic avatar Sep 13 '24 20:09 xincunli-sonic

Can you help provide more info, like any issue that is tracking sonic-mgmt test failure, also can you share the sonic-mgmt GCU tests passed details, Thanks!

@xincunli-sonic Suggested changes are needed to pass below test suites:

  • generic_config_updater/test_pg_headroom_update.py
  • generic_config_updater/test_mmu_dynamic_threshold_config_update.py
  • generic_config_updater/test_ecn_config_update.py

That they perform changes in cfg paths /BUFFER_PROFILE, /WRED_PROFILE.

Were they failing in 202405 or something else, do we have github issue tracking it? And as you mentioned in top description that you did pass these tests by the new change, can you share the output where took your change, Thanks!

@xincunli-sonic These tests have always failed for these platforms. The tests validate the ability to use "apply-patch" to modify configuration in these areas.

They will always fail for platforms that are not included in this file. "apply-patch" parses this file and checks that the current version is at least the version in the file before allowing patching of these areas.

dgodwin-nokia avatar Sep 18 '24 12:09 dgodwin-nokia

@judyjoseph Could you please help to cherry-pick this PR to 202405? Thanks

mlok-nokia avatar Sep 25 '24 17:09 mlok-nokia

Cherry-pick PR to 202405: https://github.com/sonic-net/sonic-utilities/pull/3600

mssonicbld avatar Nov 06 '24 22:11 mssonicbld