139f1da6 | 18-Oct-2024 |
Brian Ma <chma0@nuvoton.com> |
Use importlib.util to replace imp
Since the imp module is deprecated and scheduled for removal in Python 3.12 in favor of importlib, update the relevant libraries to resolve any ModuleNotFoundError
Use importlib.util to replace imp
Since the imp module is deprecated and scheduled for removal in Python 3.12 in favor of importlib, update the relevant libraries to resolve any ModuleNotFoundError issues with Python 3.12.
Changes: - use import importlib.util instead of import imp
Tested: - Ran basic test pass with Python 3.10 and 3.12.
Change-Id: I25dde939dd25268b2ae329b0121858bec20ed03c Signed-off-by: Brian Ma <chma0@nuvoton.com>
show more ...
|
abb492d3 | 24-Jul-2024 |
George Keishing <gkeishin@in.ibm.com> |
New boot JSON file supporting only OSRunning boot progress
Changes: - Added new boot JSON file and this new boot JSON is not called in unless the user explicitly selects it to boot t
New boot JSON file supporting only OSRunning boot progress
Changes: - Added new boot JSON file and this new boot JSON is not called in unless the user explicitly selects it to boot through the option mentioned below.
Tested: Using the CLI option -v BOOT_TABLE_PATH:data/boot_table_osrunning_redfish.json
Change-Id: I6e82e89c34540f17104771d820ae04ff2ad8d61d Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
c32434a3 | 11-Jan-2024 |
Yi Hu <yih@supermicro.com> |
Set system, chassis, and bmc as global variables
Changes: - Add SYSTEM_ID as a global variable and set to default value system - Replace redfish/v1/Systems/system to redfish/v1/Systems/SYSTEM_ID
Set system, chassis, and bmc as global variables
Changes: - Add SYSTEM_ID as a global variable and set to default value system - Replace redfish/v1/Systems/system to redfish/v1/Systems/SYSTEM_ID - Replace redfish/v1/Chassis/chassis to redfish/v1/Chassis/CHASSIS_ID - Replace redfish/v1/Managers/bmc to redfish/v1/Managers/MANAGER_ID
Tested: - Tested on sandbox with the changes with sample test run with sample test ID runs 1. without SYSTEM_ID provided 2. with -v SYSTEM_ID:system1 3. with export SYSTEM_ID="" 3. with export SYSTEM_ID="system2"
Change-Id: Ifc412b20038cef1eba632caaa6c300be328259bd Signed-off-by: Wilson Suen <wilsons@supermicro.com> Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
472177b4 | 28-Aug-2023 |
Sushil Singh <susilsi7@in.ibm.com> |
Added keywords for dump and BMC state
Changes: - Added keyword "Redfish Get All System Dumps" "Redfish Verify BMC State"
Tested: - Ran successfully Redfish Get All System Dumps
Added keywords for dump and BMC state
Changes: - Added keyword "Redfish Get All System Dumps" "Redfish Verify BMC State"
Tested: - Ran successfully Redfish Get All System Dumps Redfish Verify BMC State
Change-Id: Iaf0b1fac7adf17300a0a2bec4a80943a3a7d00f7 Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
show more ...
|
5c4f02e3 | 27-Jul-2023 |
Michal Orzel <michalx.orzel@intel.com> |
Change authority D-Bus names
Changing authority service references in code from 'ldap' to more generic name, to comply with change in phosphor-certificate-manager.
Related change: https://gerrit.op
Change authority D-Bus names
Changing authority service references in code from 'ldap' to more generic name, to comply with change in phosphor-certificate-manager.
Related change: https://gerrit.openbmc.org/c/openbmc/phosphor-certificate-manager/+/65458
Change-Id: Ic12b7c37cf50834ed4f91a09b5483964790ccdf7 Signed-off-by: Michal Orzel <michalx.orzel@intel.com>
show more ...
|
db74ad2d | 01-May-2023 |
ganesanb <ganesanb@ami.com> |
DCMI: Created new script for dcmi set asset tag command
Changes: - Moved ipmi/test_ipmi_asset_tag.robot file to ipmi/dcmi_commands/test_dcmi_asset_tag.robot. - Added three test cases to set
DCMI: Created new script for dcmi set asset tag command
Changes: - Moved ipmi/test_ipmi_asset_tag.robot file to ipmi/dcmi_commands/test_dcmi_asset_tag.robot. - Added three test cases to set asset tag via dcmi raw command.
Tested: - Ran All The Scripts Successfully
Change-Id: I287b114abe03905cdac5a49e8d28e86953b4cb92 Signed-off-by: ganesanb <ganesanb@ami.com>
show more ...
|
a016f3f2 | 13-Dec-2022 |
ganesanb <ganesanb@ami.com> |
DCMI: Get DCMI Temperature Reading
- Created new script for DCMI Get Temperature reading command.
Tested: - Ran All The Scripts Successfully
Change-Id: I9a7c1cfa842494e47276d39f674da640c99
DCMI: Get DCMI Temperature Reading
- Created new script for DCMI Get Temperature reading command.
Tested: - Ran All The Scripts Successfully
Change-Id: I9a7c1cfa842494e47276d39f674da640c994eb05 Signed-off-by: ganesanb <ganesanb@ami.com>
show more ...
|
1499c918 | 27-May-2023 |
Nagarjun B <nagarjunb@ami.com> |
Added Testcase for Get Chassis Capabilities.
Two new testcase: 1) Verify_Get_Chassis_Capabilities - use dbus oject to verify the values dbus object url variable declared in the variables section.
Added Testcase for Get Chassis Capabilities.
Two new testcase: 1) Verify_Get_Chassis_Capabilities - use dbus oject to verify the values dbus object url variable declared in the variables section. 2) Verify_Get_Chassis_Capabilities_With_Invalid_Data_Length
Tested: Ran robot ipmi/test_ipmi_chassis.robot
Change-Id: Id7e04a79b4ecddb2ddfb2092c3133d20a535912b Signed-off-by: Nagarjun B <nagarjunb@ami.com>
show more ...
|
5502e3ed | 13-Dec-2022 |
ganesanb <ganesanb@ami.com> |
DCMI: Set and Get DCMI Management Controller Identifier String
- Created new script for Set and Get DCMI Management Controller Identifier String.
Tested: - Ran All The Scripts Successfully
Ch
DCMI: Set and Get DCMI Management Controller Identifier String
- Created new script for Set and Get DCMI Management Controller Identifier String.
Tested: - Ran All The Scripts Successfully
Change-Id: I8085617716949a73ccf7dbb5b20502a03ee4d721 Signed-off-by: ganesanb <ganesanb@ami.com>
show more ...
|
dee719b8 | 27-May-2023 |
Nagarjun B <nagarjunb@ami.com> |
Modfied ipmi_raw_cmd_table.py raw commands.
Changed raw command in data/ipmi_raw_cmd_table.py file to form IPMI raw command using the ${CHANNEL_NUMBER} defined in the resource.robot
Tested: Ran r
Modfied ipmi_raw_cmd_table.py raw commands.
Changed raw command in data/ipmi_raw_cmd_table.py file to form IPMI raw command using the ${CHANNEL_NUMBER} defined in the resource.robot
Tested: Ran robot ipmi/test_ipmi_kcs.robot robot ipmi/test_ipmi_lanplus.robot
Change-Id: I8b382f432d13a267aef86707d4d05acbe5d84d78 Signed-off-by: Nagarjun B <nagarjunb@ami.com>
show more ...
|
4d430283 | 27-Apr-2023 |
ganesanb <ganesanb@ami.com> |
Managers ID : Introduced variable to declare Managers ID in resource.robot and updated all the scripts in openbmc-test-automation
Changes: - Introduced ${MANAGER_ID} variable in resource.robot
Managers ID : Introduced variable to declare Managers ID in resource.robot and updated all the scripts in openbmc-test-automation
Changes: - Introduced ${MANAGER_ID} variable in resource.robot - Replaced all the Managers/bmc to Managers/${MANAGER_ID} across all the scripts - Also in data/variables.py updated chassis id for the few redfish uri.
Tested: - Ran All The Scripts Successfully
Change-Id: Iff3673aae27657e0799dec5cb94c1651a0cd5d18 Signed-off-by: ganesanb <ganesanb@ami.com> Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
a8aee234 | 08-Apr-2023 |
ganesanb <ganesanb@ami.com> |
Add SEL Entry: Modified add sel entry command
Changes: - Generator ID in add sel entry command was given as 0x00 0x00. - Introduced generator id variable in lib/resource.robot and the variab
Add SEL Entry: Modified add sel entry command
Changes: - Generator ID in add sel entry command was given as 0x00 0x00. - Introduced generator id variable in lib/resource.robot and the variable is called in add sel entry command. - Modified data/ipmi_raw_cmd_table.py file as per generator id.
Tested: - Ran All The Scripts Successfully
Change-Id: I4503ca2667921c0681e1050c56fc32e173eacb03 Signed-off-by: ganesanb <ganesanb@ami.com>
show more ...
|
26499145 | 16-Feb-2023 |
Nagarjun B <nagarjunb@ami.com> |
Modified Hardcoded channel Number as 1 to dynamic.
While Getting user info using "Get User Info" keyword by default it will return channel numebr 1 user. we have to mention the channel number to get
Modified Hardcoded channel Number as 1 to dynamic.
While Getting user info using "Get User Info" keyword by default it will return channel numebr 1 user. we have to mention the channel number to get the particular channel user info. So for Get User Info keyword added ${CHANNEL_NUMBER} variable as argument.
And also while getting channel access we are hardcoding the channel number as 1, there are removed 1 and added ${CHANNEL_NUMBER}.
Tested: Run robot ipmi/test_ipmi_user.robot Run robot ipmi/test_ipmi_payload.robot Run robot redfish/account_service/test_ipmi_redfish_user.robot
Change-Id: Id81b59e7880045b74e65195089e38d8653f66d7a Signed-off-by: Nagarjun B <nagarjunb@ami.com>
show more ...
|
7899a451 | 15-Feb-2023 |
George Keishing <gkeishin@in.ibm.com> |
CI Python Markdown errors fixes
Changes: - Fix line spacing
Tested: - CI test from gerrit jenkins
Change-Id: I87675375085f509a3c0eb8cd0bfb6762be9bd5e0 Signed-off-by: George Keishing <gkeis
CI Python Markdown errors fixes
Changes: - Fix line spacing
Tested: - CI test from gerrit jenkins
Change-Id: I87675375085f509a3c0eb8cd0bfb6762be9bd5e0 Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
44bfc20a | 08-Feb-2023 |
Sushil Singh <susilsi7@in.ibm.com> |
Added test case to ensure firmware update successful when interrupted with hostname change
Changes: - Redfish Code Update With Different Interrupted Operation - Verify Redfish Code Update
Added test case to ensure firmware update successful when interrupted with hostname change
Changes: - Redfish Code Update With Different Interrupted Operation - Verify Redfish Code Update With Different Interrupted Operation
Tested: - Ran successfully redfish/update_service/ test_redfish_bmc_code_update.robot
Change-Id: I209cfddc2991e3684ee1d934311517ac19c4f1e6 Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
show more ...
|
81be58b1 | 10-Feb-2023 |
George Keishing <gkeishin@in.ibm.com> |
Pylint error and warning fixes
Changes: - C0114 Missing module docstring - C0103 Constant name "OS_BOOT_CBoot" doesn't conform to UPPER_CASE naming style - C0103 Constant name
Pylint error and warning fixes
Changes: - C0114 Missing module docstring - C0103 Constant name "OS_BOOT_CBoot" doesn't conform to UPPER_CASE naming style - C0103 Constant name "OS_BOOT_DiagBoot" doesn't conform to UPPER_CASE naming style
Tested: - python3 -m pylint data/variables.py
Change-Id: I7945c31dd25dead2fb39f416eae0c34ae20b3dfb Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
b1d2f495 | 15-Dec-2022 |
George Keishing <gkeishin@in.ibm.com> |
Fix warning and errors CI
Change-Id: I00689763f9128229382a389826336eb5cd99662d Signed-off-by: George Keishing <gkeishin@in.ibm.com> |
b9e3471a | 12-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
Change-Id: Ie9b0b21aa323a64500f0483936b14805ec0cd95a Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
d1baad62 | 23-Nov-2022 |
George Keishing <gkeishin@in.ibm.com> |
openpower: Support sensors DBUS path check at runtime
Changes: - Added code support keywords to fetch DBUS sensor path information - Added code support keyword to verify runtime and
openpower: Support sensors DBUS path check at runtime
Changes: - Added code support keywords to fetch DBUS sensor path information - Added code support keyword to verify runtime and pre-define template or user defined DBUS JSON data
Tested: - Wrote test suite code to call the keyword and verified.
Change-Id: Iaf66e46f0144b35687a5c250ab66da5cf27919db Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
20f38712 | 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files to have a consistent formatting. Re-run the formatter on the whole repository.
Signed-off-by: Patrick Will
black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files to have a consistent formatting. Re-run the formatter on the whole repository.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I944f1915ece753f72a3fa654902d445a9749d0f9
show more ...
|
e635ddc0 | 08-Dec-2022 |
George Keishing <gkeishin@in.ibm.com> |
Revert "black: re-format"
This reverts commit 5731818de0ce446ceaafc7e75ae39da1b69942ae.
Signed-off-by: George Keishing <gkeishin@in.ibm.com> Change-Id: Ie61cdc8c7f2825b0d9d66be87a6a3a058de2b372 |
5731818d | 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files to have a consistent formatting. Re-run the formatter on the whole repository.
Change-Id: If1010ead857d413
black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files to have a consistent formatting. Re-run the formatter on the whole repository.
Change-Id: If1010ead857d41364c024bf8145a979a9377d382 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
12e33526 | 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
Change-Id: Ie200c0d0da7926b8e0dae0b44c5618762f7fd666 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
468d85fa | 30-Nov-2022 |
Sushil Singh <susilsi7@in.ibm.com> |
Code to get all dump and to check no dump exist
Changes: - Added keyword "Get Redfish BMC Dump Log Entries" "Redfish BMC Dump Should Not Exist"
Tested: - Ran successfully Get Redfis
Code to get all dump and to check no dump exist
Changes: - Added keyword "Get Redfish BMC Dump Log Entries" "Redfish BMC Dump Should Not Exist"
Tested: - Ran successfully Get Redfish BMC Dump Log Entries, Redfish BMC Dump Should Not Exist
Change-Id: I73c4108b5bf76f2841d141d93f96b4a6e57b1143 Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
show more ...
|
350edc86 | 30-Sep-2022 |
aravinth0510 <aravinthr@ami.com> |
Added new test script for validating task service and tasks instance
Added validation for the following cases - Validate attributes and default values in task service URI - Trigger a redfish event t
Added new test script for validating task service and tasks instance
Added validation for the following cases - Validate attributes and default values in task service URI - Trigger a redfish event that generates task instance and -- Verify task state is valid throughout task lifecycle -- Verify whether the start & end time for task is valid -- Verify the task monitor functionality in tasks instance -- Verify the payload properties in task instance - Verify task collection persistency after BMC reboot
Tested: Run robot redfish/task_service/test_tasks.robot
Signed-off-by: Aravinth R <aravinthr@ami.com> Change-Id: If9206e5eb9f624e7642d617664ef7af79bafc603
show more ...
|