Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Serial Number check test case. #11092

Merged

Conversation

xincunli-sonic
Copy link
Contributor

@xincunli-sonic xincunli-sonic commented Dec 19, 2023

Summary
This PR adds the test_platform_serial_no test case that can help identifing the serial no. mismatching issue.

Type of change

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

Approach
Use decode-syseeprom -s to compare with modeled inventory information.

What is the motivation for this PR?
We were hitting complains that prod devices had mismatch serial number, later, we have this fix, now we need align this gap by adding this test case.

How did you do it?
Compare decode-syseeprom -s output with inventory data.

How did you verify/test it?
Ran the test in multiple platform lab devices, which shows passed.

Any platform specific information?
This is common test issue.

Signed-off-by: Xincun Li xincun.li@microsoft.com

@prgeor
Copy link
Contributor

prgeor commented Dec 20, 2023

@xincunli-sonic the summary of this PR says this is related to reboot? How?

@xincunli-sonic
Copy link
Contributor Author

@xincunli-sonic the summary of this PR says this is related to reboot? How?

updated, Thanks!

Output get_serial_no_cmd instead of cmd.
@bingwang-ms bingwang-ms merged commit 1ce9c31 into sonic-net:master Jan 3, 2024
15 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Feb 1, 2024
* Add Serial Number check test case.
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Feb 1, 2024
* Add Serial Number check test case.
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202205: #11522

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202305: #11523

mssonicbld pushed a commit that referenced this pull request Feb 1, 2024
* Add Serial Number check test case.
mssonicbld pushed a commit that referenced this pull request Feb 1, 2024
* Add Serial Number check test case.
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.

6 participants