Skip to content

[action] [PR:13118] Fix route/test_forced_mgmt_route.py#13238

Merged
mssonicbld merged 1 commit intosonic-net:202311from
mssonicbld:cherry/202311/13118
Jun 12, 2024
Merged

[action] [PR:13118] Fix route/test_forced_mgmt_route.py#13238
mssonicbld merged 1 commit intosonic-net:202311from
mssonicbld:cherry/202311/13118

Conversation

@mssonicbld
Copy link
Collaborator

Description of PR

Summary: Fix route/test_forced_mgmt_route.py failures during teardown
Fixes # aristanetworks/sonic-qual.msft#113

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205
  • 202305
  • 202311

Approach

What is the motivation for this PR?

Test is tampering the running config of the duthost and leaving the config in this state. This is causing failures during teardown core_dump_and_config_check is failing during config_db_check.

Also seeing loganalyzer failures with symptom similar to ERR syncd#syncd: [none] SAI_API_UNSPECIFIED:sai_api_query:449 Invalid sai_api_t 50 passed to sai_api_query ... (mostly due to config changes)

How did you do it?

Perform "config_reload" with the backup config as part of fixture teardown (backup_restore_config).

How did you verify/test it?

Test is passing consistently with the fix (verified on Arista-7260CX3-C64), verified on 202305 and 202311 branches.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

What is the motivation for this PR?
Test is tampering the running config of the duthost and leaving the config in this state. This is causing failures during teardown core_dump_and_config_check is failing during config_db_check.

Also seeing loganalyzer failures with symptom similar to  ERR syncd#syncd: [none] SAI_API_UNSPECIFIED:sai_api_query:449 Invalid sai_api_t 50 passed to sai_api_query ... (mostly due to config changes)

How did you do it?
Perform "config_reload" with the backup config as part of fixture teardown (backup_restore_config).

How did you verify/test it?
Test is passing consistently with the fix (verified on Arista-7260CX3-C64), verified on 202305 and 202311 branches.
@mssonicbld
Copy link
Collaborator Author

Original PR: #13118

@mssonicbld mssonicbld merged commit 21e8c0d into sonic-net:202311 Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants