Skip to content

Conversation

@echuawu
Copy link
Contributor

@echuawu echuawu commented Sep 19, 2025

Description of PR

Related design PRs:
sonic-net/sonic-utilities#4104
sonic-net/sonic-platform-common#605
sonic-net/sonic-buildimage#24345

Add BMC api test script.

Including cases:
test_get_name()
test_get_presence()
test_get_model()
test_get_serial()
test_get_revision()
test_get_status()
test_is_replaceable()
test_get_eeprom()
test_get_version()
test_reset_root_password()
test_bmc_dump()
test_bmc_firmware_update()

Summary:
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

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Approach

What is the motivation for this PR?

Add test script for SONiC BMC module

How did you do it?

Add test script for platform api

How did you verify/test it?

Run it locally

Any platform specific information?

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

Documentation

@mssonicbld
Copy link
Collaborator

/azp run

@echuawu echuawu marked this pull request as draft September 19, 2025 15:02
@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).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@echuawu echuawu marked this pull request as ready for review September 28, 2025 03:12
@echuawu echuawu requested a review from wangxin as a code owner September 28, 2025 03:12
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@echuawu echuawu marked this pull request as draft September 29, 2025 01:17
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Including cases:
test_get_name()
test_get_presence()
test_get_model()
test_get_serial()
test_get_revision()
test_get_status()
test_is_replaceable()
test_get_eeprom()
test_get_version()
test_reset_root_password()
test_bmc_dump()
test_bmc_firmware_update()

Change-Id: Ie348756c572440667a8c09e8075d85b8f3522fda
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

sonicadmin_password: password
sonicadmin_initial_password: password
sonic_bmc_root_user: root
sonic_bmc_root_password: 0penBmcTempPass!
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean that all products will have to use "0penBmcTempPass!" ? In some cases, the OS could be not OpenBMC, so the password should be something standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants