Skip to content

Added consistency checker to all relevant advanced-reboot cases#16877

Merged
StormLiangMS merged 8 commits intosonic-net:masterfrom
Ryangwaite:add-consistency-checker-to-all-advanced-reboot-test-cases
Feb 24, 2025
Merged

Added consistency checker to all relevant advanced-reboot cases#16877
StormLiangMS merged 8 commits intosonic-net:masterfrom
Ryangwaite:add-consistency-checker-to-all-advanced-reboot-test-cases

Conversation

@Ryangwaite
Copy link
Contributor

@Ryangwaite Ryangwaite commented Feb 10, 2025

Description of PR

Summary: Added consistency checker to all relevant advanced-reboot cases and added minor improvements including:

  • Ignoring NULL values in ASIC querying
  • Logging ASIC/DB inconsistencies
    Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

How did you do it?

How did you verify/test it?

Any platform specific information?

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

Documentation

@Ryangwaite Ryangwaite requested a review from prgeor as a code owner February 10, 2025 11:03
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Ryangwaite Ryangwaite requested review from ryanzhu706, saiarcot895 and vaibhavhd and removed request for prgeor February 10, 2025 11:04
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Pull request contains merge conflicts.

@Ryangwaite Ryangwaite force-pushed the add-consistency-checker-to-all-advanced-reboot-test-cases branch from 4e5ddc9 to 349eaab Compare February 13, 2025 03:30
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Now need to explicitly state all the attributes you want to get, not the
ones you want to omit.

This is to make it safer now that it was found that querying some
attributes include write operations.
@Ryangwaite Ryangwaite force-pushed the add-consistency-checker-to-all-advanced-reboot-test-cases branch from 349eaab to 66d7d73 Compare February 13, 2025 03:38
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

This clarifies what the array actually resembles.
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

An ASIC reset happens during this test case so the consistency check is
irrelevant
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Ryangwaite
Copy link
Contributor Author

@StormLiangMS can you help to merge this?

@StormLiangMS StormLiangMS merged commit f2cadae into sonic-net:master Feb 24, 2025
17 checks passed
nhe-NV pushed a commit to nhe-NV/sonic-mgmt that referenced this pull request Feb 26, 2025
…c-net#16877)

Description of PR
Summary: Added consistency checker to all relevant advanced-reboot cases and added minor improvements including:

Ignoring NULL values in ASIC querying
Logging ASIC/DB inconsistencies
Fixes # (issue)
nnelluri-cisco pushed a commit to nnelluri-cisco/sonic-mgmt that referenced this pull request Mar 15, 2025
…c-net#16877)

Description of PR
Summary: Added consistency checker to all relevant advanced-reboot cases and added minor improvements including:

Ignoring NULL values in ASIC querying
Logging ASIC/DB inconsistencies
Fixes # (issue)
Ryangwaite added a commit to Ryangwaite/sonic-mgmt that referenced this pull request Apr 28, 2025
…c-net#16877)

Description of PR
Summary: Added consistency checker to all relevant advanced-reboot cases and added minor improvements including:

Ignoring NULL values in ASIC querying
Logging ASIC/DB inconsistencies
Fixes # (issue)
Ryangwaite added a commit to Ryangwaite/sonic-mgmt that referenced this pull request Apr 28, 2025
…c-net#16877)

Description of PR
Summary: Added consistency checker to all relevant advanced-reboot cases and added minor improvements including:

Ignoring NULL values in ASIC querying
Logging ASIC/DB inconsistencies
Fixes # (issue)
Ryangwaite added a commit to Ryangwaite/sonic-mgmt that referenced this pull request Apr 28, 2025
…c-net#16877)

Description of PR
Summary: Added consistency checker to all relevant advanced-reboot cases and added minor improvements including:

Ignoring NULL values in ASIC querying
Logging ASIC/DB inconsistencies
Fixes # (issue)
Ryangwaite added a commit to Ryangwaite/sonic-mgmt that referenced this pull request Apr 28, 2025
…c-net#16877)

Description of PR
Summary: Added consistency checker to all relevant advanced-reboot cases and added minor improvements including:

Ignoring NULL values in ASIC querying
Logging ASIC/DB inconsistencies
Fixes # (issue)
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.

5 participants