#
a618f67c |
| 27-Mar-2025 |
Sridevi Ramesh <sridevra@in.ibm.com> |
Create input argument instead of default value
Changes: Remove default value and provide input argument
Tested: NA
Change-Id: I662850a59f3d844502829dbb9d04c9e56f6e37a8 Signed-off-by: Sridevi Rames
Create input argument instead of default value
Changes: Remove default value and provide input argument
Tested: NA
Change-Id: I662850a59f3d844502829dbb9d04c9e56f6e37a8 Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
show more ...
|
Revision tags: v6.0-stable, v5.0-stable, v4.0-stable |
|
#
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 ...
|
#
bd187d2b |
| 03-May-2023 |
ganesanb <ganesanb@ami.com> |
IPMI: Device ID Script Fix
Changes: - Created python function to get major version and minor version in list from cat /etc/os-release command - Sometimes in cat /etc/os-release command aux v
IPMI: Device ID Script Fix
Changes: - Created python function to get major version and minor version in list from cat /etc/os-release command - Sometimes in cat /etc/os-release command aux version will not present. - Hence handled code to validate auxillary version from ipmi response against aux version from "/usr/share/ipmi-providers/dev_id.json" file
Tested: - Ran ipmi/test_ipmi_device_id.robot Successfully
Change-Id: I73dae3459fd1d160761eeb2918451198612b8c31 Signed-off-by: ganesanb <ganesanb@ami.com>
show more ...
|
#
07958e19 |
| 26-Apr-2023 |
ganesanb <ganesanb@ami.com> |
Removed unicode character from dbus uri
Changes: - Remove unicode character such as `- and |- from dbus uri for introspecting dbus
Tested: - Ran All The Scripts Successfully
Change-Id: I2
Removed unicode character from dbus uri
Changes: - Remove unicode character such as `- and |- from dbus uri for introspecting dbus
Tested: - Ran All The Scripts Successfully
Change-Id: I20dd85a3825624f38a40040d6e4a208f0c38781f Signed-off-by: ganesanb <ganesanb@ami.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 ...
|
#
c7cc02b0 |
| 12-Aug-2022 |
George Keishing <gkeishin@in.ibm.com> |
pylint errors and warning fix
Changes: - Fix comments length - Fix import module orders
There are still other failures but this fixed few of the fundamental warnings.
Tested: Install p
pylint errors and warning fix
Changes: - Fix comments length - Fix import module orders
There are still other failures but this fixed few of the fundamental warnings.
Tested: Install pylint ( pip3 install pylint ) Run CLI command as bellow python3 -m pylint lib/utils.py
Change-Id: I21f9f705f3eb58b591ecc5340aa9a8575a5d6fce Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
Revision tags: robotframework-requests |
|
#
c288affe |
| 19-May-2022 |
ganesanb <ganesanb@ami.com> |
Changes in ipmi/test_ipmi_fru_device.robot
Added Following Test Case
- Read Fru Device configuration - Verify Get FRU Inventory Area Info - Verify Get FRU Inventory Area Info For Invalid Device
Changes in ipmi/test_ipmi_fru_device.robot
Added Following Test Case
- Read Fru Device configuration - Verify Get FRU Inventory Area Info - Verify Get FRU Inventory Area Info For Invalid Device Data - Verify Get FRU Inventory Area Info For Invalid Data Request - Verify IPMI Write FRU Data - Verify IPMI Write FRU Data With BMC Reboot
Functions required are defined under lib/bmc_dbus.robot, lib/ipmi_client.robot and lib/utils.py
Request data for fru data present in data/ipmi_raw_cmd_table.py.
Read Fru Device configuration - Validates each ipmi fru device data with corresponding dbus data.
Verify Get FRU Inventory Area Info - Validates fru inventory byte size with ipmi read fru count returned.
Verify Get FRU Inventory Area Info For Invalid Device Data - Validates the response of inventory fru area info command with invalid device id.
Verify Get FRU Inventory Area Info For Invalid Data Request - Validates the response of inventory fru area info command with invalid request data by giving extra bytes.
Verify IPMI Write FRU Data - Verify write fru data with the response returned with read fru data after data is written.
Verify IPMI Write FRU Data With BMC Reboot - Verify the response of read fru data after the bmc is rebooted once the data is written to the fru device.
Signed-off-by: ganesanb <ganesanb@ami.com> Change-Id: I2ea51ad51512ecbcc4036e2d2593cafaa40a2d3c
show more ...
|
#
0a8c8787 |
| 01-Mar-2022 |
chithrag <chithrag@ami.com> |
Created New script for IPMI Set/Get SEL Time
Pre-requisite Condition : Client Machine and BMC should be in Same TimeZone (example : UST). Mismatch of Timezones result in miscalculation of SEL Time d
Created New script for IPMI Set/Get SEL Time
Pre-requisite Condition : Client Machine and BMC should be in Same TimeZone (example : UST). Mismatch of Timezones result in miscalculation of SEL Time due to different Timezone in Client Machine.
IPMI Raw command variables are defined under ../data/ipmi_raw_cmd_table.py Python basic functionalities are defined under lib/ipmi_client.robot, lib/ipmi_utils.py and lib/utils.py files.
Test the Set/Get SEL Time functionality and compare the result against BMC Native command (date).
Set the Time Sync Mode from NTP to Manual to Set SEL Time. Time Sync Mode change performed via REDFISH URI. Performs the change in Time Sync Mode with Test Setup and Teardown Execution with default NETWORK_TIMEOUT provided under ../lib/resource.robot
NETWORK_RESTART_TIME added for Set SEL Time and Add SEL Entry as the corresponding command takes approx 5 seconds for the operation to reflect.
Current SEL time identified via BMC Native command (date) and perform SEL Time operations.
Script Verifies SEL Time for various scenarios such as, - Get current time from BMC and add future year and compare against BMC native command (date), - Gets BMC Current Time and Adds 15 minutes and compare against BMC native command (date), - Gets BMC Current Time and subtracts 1 day and compare against BMC native command (date), - Add SEL Entry for all the above scenarios and compare against BMC native command (date).
Tested: Run robot ipmi/test_ipmi_sel_time.robot
Signed-off-by: chithrag <chithrag@ami.com> Change-Id: Ied129b96e38351d59780326c71f875dc50ce33f5
show more ...
|
#
e7e9171e |
| 03-Sep-2021 |
George Keishing <gkeishin@in.ibm.com> |
Update python code for python 3.8 or higher compatibility
Changes: - Update shebang directive to use python3 explicitly. - remove preexec_fn feature which is deprecated in higher py
Update python code for python 3.8 or higher compatibility
Changes: - Update shebang directive to use python3 explicitly. - remove preexec_fn feature which is deprecated in higher python version 3.8 and above. - bufsize fix, from documentation bufsize 1 means line buffered (only usable if universal_newlines=True i.e., in a text mode) refer: https://docs.python.org/3/library/subprocess.html - Fix SyntaxWarning: "is" with "=="
Change-Id: Ib96c1ba8c2327d6774d0d731b48ca7e61a4a297a Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
Revision tags: v2.10-Hardknott, v2.8.0-stable |
|
#
eb5a162e |
| 19-Mar-2020 |
Sridevi Ramesh <sridevra@in.ibm.com> |
Create keyword for ecmd commands & sanity test cases corresponding to it
'Ecmd' keyword supports commands as shown below - getscom/putscom, getmemproc/putmemproc, getcfam/putcfam.
sanity tests cas
Create keyword for ecmd commands & sanity test cases corresponding to it
'Ecmd' keyword supports commands as shown below - getscom/putscom, getmemproc/putmemproc, getcfam/putcfam.
sanity tests cases for getscom, getmemproc, getcfam.
Change-Id: I62f6011198b1a41eea720ae89be63a38168b8bae Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
show more ...
|
#
6624ce5d |
| 22-Jan-2020 |
Sushil Singh <susilsi7@in.ibm.com> |
Reading json for post code update action
Change-Id: I6636e81b44ca25c87ed92a65121cccbfebcf86a2 Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
|
#
9617ebdd |
| 25-Nov-2019 |
Sridevi Ramesh <sridevra@in.ibm.com> |
Automation of Sanity scenarios
Change-Id: I73b585c292aa53fcb64c1778b2264652ba619501 Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
|
#
35d78f25 |
| 14-Jan-2020 |
Michael Walsh <micwalsh@us.ibm.com> |
get_bmc_release_info/get_os_release_info
New functions: - get_bmc_release_info: Get release info from the BMC and return as a dictionary.
- get_os_release_info: Get release info from the OS
get_bmc_release_info/get_os_release_info
New functions: - get_bmc_release_info: Get release info from the BMC and return as a dictionary.
- get_os_release_info: Get release info from the OS and return as a dictionary.
Change-Id: I661aadfa1888cb9683e78ce9cc2e717752a9eef4 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
Revision tags: v2.7-warrior-stable, v2.6-thud-stable |
|
#
36efbc04 |
| 12-Dec-2018 |
George Keishing <gkeishin@in.ibm.com> |
Python 2.7x and 3.xx compatibility fixes
Change-Id: I84eb3bf7691fa867acadf9dae8c4f56a9781bf73 Signed-off-by: George Keishing <gkeishin@in.ibm.com>
|
Revision tags: v2.2-stable |
|
#
7557510a |
| 04-Oct-2018 |
Michael Walsh <micwalsh@us.ibm.com> |
New to_json_ordered function
Change-Id: I82fd3994ec4d61982ffbd9bcd952114687e908df Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|
Revision tags: v2.1-stable, v2.0-stable |
|
#
7847ece3 |
| 12-Apr-2018 |
Michael Walsh <micwalsh@us.ibm.com> |
New Get OS Ethtool keyword
Change-Id: I61ab17643367e05a3dc8eb009d5706d485697ce4 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|
#
096cd565 |
| 26-Mar-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Fixed PEP 8 style using autopep8
Used autopep8 to correct styling. Ran autopep8 on openbmc-test-automation, autopep8 is not able to fix all styling issues. There is still around 1000 styling violati
Fixed PEP 8 style using autopep8
Used autopep8 to correct styling. Ran autopep8 on openbmc-test-automation, autopep8 is not able to fix all styling issues. There is still around 1000 styling violations in openbmc-test-automation. More information on autopep8 can be found here, https://pypi.python.org/pypi/autopep8
Change-Id: Iddc131da1d74d978eb3dd0fdd6ce5d0a0e49b0f8 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
#
bf724770 |
| 21-Feb-2018 |
George Keishing <gkeishin@in.ibm.com> |
MAC address comparison
Fixes: - Move common keywords from test suites to lib/bmc_network_utils.robot - Add new python function to compare the MAC address.
Resolves openbmc/openbmc-te
MAC address comparison
Fixes: - Move common keywords from test suites to lib/bmc_network_utils.robot - Add new python function to compare the MAC address.
Resolves openbmc/openbmc-test-automation#1261
Change-Id: Ie3447d6a82679152ccd0b571ade63a1f1b71fd05 Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
#
6f407b9a |
| 16-Jan-2018 |
George Keishing <gkeishin@in.ibm.com> |
Python function to get SBE boot side
Pre-requisite for commit https://gerrit.openbmc-project.xyz/#/c/8105/
Change-Id: Ibcc2e39bf124046ed9880d823550221393224e1b Signed-off-by: George Keishing <gkeis
Python function to get SBE boot side
Pre-requisite for commit https://gerrit.openbmc-project.xyz/#/c/8105/
Change-Id: Ibcc2e39bf124046ed9880d823550221393224e1b Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
#
efc3ff2b |
| 12-Dec-2017 |
George Keishing <gkeishin@in.ibm.com> |
Update power policy from RESTORE_LAST_STATE to ALWAYS_POWER_OFF
ALWAYS_POWER_OFF is the current default policy.
Resolves openbmc/openbmc-test-automation#1162
Change-Id: I7978afd38c46fb365d7c90cd6
Update power policy from RESTORE_LAST_STATE to ALWAYS_POWER_OFF
ALWAYS_POWER_OFF is the current default policy.
Resolves openbmc/openbmc-test-automation#1162
Change-Id: I7978afd38c46fb365d7c90cd6d276249cb576cc7 Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
#
193743eb |
| 20-Nov-2017 |
Michael Walsh <micwalsh@us.ibm.com> |
New get_bmc_df function.
Change-Id: I1c1ef0afc531b1146dce1dcf8c60a1f94152b326 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|
#
d690150c |
| 14-Nov-2017 |
Michael Walsh <micwalsh@us.ibm.com> |
Remove hashtag lines from all .py files.
Change-Id: Ib2b52f6ff71c8f553e0cfb1936c8e0917e70c619 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|
#
f880ac66 |
| 10-Nov-2017 |
Michael Walsh <micwalsh@us.ibm.com> |
New get_bmc_date_time function.
Get date/time info from BMC and return as a dictionary.
Change-Id: Ie824f4cf9e81ae38557ba9363f71c95d7f88b877 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|