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 ...
|
334438b3 | 21-Sep-2022 |
srichn28 <srichn28@in.ibm.com> |
Fixes for Test Baseboard Temperature Via IPMI
Changes: - URI change to get sensor temperature readings from Redfish. - Get all the Baseboard temperature sensors from the IPMI result. - A
Fixes for Test Baseboard Temperature Via IPMI
Changes: - URI change to get sensor temperature readings from Redfish. - Get all the Baseboard temperature sensors from the IPMI result. - Added Thermal Metrics Variable in resource file.
Tested: Ran test case successfully from sandbox.
Change-Id: I84bd19d569cd7f90b52e8bc625e8b3f2ad75be97 Signed-off-by: srichn28 <srichn28@in.ibm.com>
show more ...
|
ef35173b | 19-Sep-2022 |
Sridevi Ramesh <sridevra@in.ibm.com> |
Add DBUS related constants in data/variables.py.
Change-Id: I6a8d605d51dedc5838d959a9c273c62a88e414c9 Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com> |
f115cc2e | 18-Aug-2022 |
Rahul Maheshwari <rahulmaheshwari@in.ibm.com> |
FRU callout generation command updated
Changes: - Updated the command to generate FRU callout
Tested: - Tested on sandbox by running Verify_FRU_Callout test case
Signed-off-by: Rahul Mah
FRU callout generation command updated
Changes: - Updated the command to generate FRU callout
Tested: - Tested on sandbox by running Verify_FRU_Callout test case
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com> Change-Id: I3611661f1c865227d519b10203cfb7c916f60c51 Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
show more ...
|
32d55427 | 04-Aug-2022 |
ganesanb <ganesanb@ami.com> |
Added test to kill and restart service
Changes: - Kill the list of services and expect killed services restart - Test case added to test_service_restart_policy.robot suite Tested:
Added test to kill and restart service
Changes: - Kill the list of services and expect killed services restart - Test case added to test_service_restart_policy.robot suite Tested: - Tested redfish/extended/test_service_restart_policy.robot
Signed-off-by: ganesanb <ganesanb@ami.com> Change-Id: I01fd08aa17d5ea1e9280014be93241fc5c68e644
show more ...
|
1560e652 | 03-Aug-2022 |
Sushil Singh <susilsi7@in.ibm.com> |
Redfish code update changes
Changes: - Added task state in json file data/task_state.json - Added Keyword Create List Of Task, Create Initiated Task State Dict, Match Target URI
Redfish code update changes
Changes: - Added task state in json file data/task_state.json - Added Keyword Create List Of Task, Create Initiated Task State Dict, Match Target URI, Check Task With Match TargetUri, Verify Task Progress State - Added Keyword Get Task State From File
Tested: Ran succesfully redfish/ update_service/test_redfish_bmc_code_update.robot
Change-Id: Iba2131925cb60614f456cbf5ec91b1b02bddc06b Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
show more ...
|
fc0c35a2 | 04-Aug-2022 |
ganesanb <ganesanb@ami.com> |
Set system info parameter command modified
set system info parameter command was wrongly framed hence modified command and updated the ipmi_raw_cmd_table.py
Tested: Run ipmi/test_ipmi_systeminfo_pa
Set system info parameter command modified
set system info parameter command was wrongly framed hence modified command and updated the ipmi_raw_cmd_table.py
Tested: Run ipmi/test_ipmi_systeminfo_parameters.robot
Signed-off-by: ganesanb <ganesanb@ami.com> Change-Id: Ibc6fc78ac256576546266276c3f0871a913e9c31
show more ...
|
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 ...
|
8ea859ee | 12-Jul-2022 |
nagarjunb22 <nagarjunb@ami.com> |
Modified IPMI raw command for partial get SDR.
Added code to get SDR record ID dynamically in Suite Setup. Modified IPMI raw commad for Get partial SDR in data/ipmi_raw_cmd_table.py and in script fi
Modified IPMI raw command for partial get SDR.
Added code to get SDR record ID dynamically in Suite Setup. Modified IPMI raw commad for Get partial SDR in data/ipmi_raw_cmd_table.py and in script file to form IPMI raw command.
Added sleep time of 10s after BMC reboot to populate SDR.
Tested: Run robot ipmi/test_ipmi_sdr.robot
Signed-off-by: Nagarjun B <nagarjunb@ami.com> Change-Id: I1788280059fbf1153e86ec26adf875b936d92065
show more ...
|
93e6e242 | 10-Jun-2022 |
nagarjunb22 <nagarjunb@ami.com> |
Added testcases for get channel payload support/version IPMI command.
Testcases added: 1) Verify Get Channel Payload Version Verify get channel payload version IPMI command for active chann
Added testcases for get channel payload support/version IPMI command.
Testcases added: 1) Verify Get Channel Payload Version Verify get channel payload version IPMI command for active channels.
2) Verify Get Channel Payload Version For Invalid Channel Verify get channel payload version IPMI command for all inactive/invalid channels. 3) Verify Get Channel Payload Support Verify get channel payload support for all payload types in active channels. 4) Verify Get Channel Payload Support For Invalid Channel Verify get channel payload support for all payload types in inactive/invalid channels.
Added IPMI raw in ipmi_raw_cmd_table.py python variable file.
Tested: Run robot ipmi/test_ipmi_payload.robot
Signed-off-by: Nagarjun B <nagarjunb@ami.com> Change-Id: Idb25a1d586a4306daf5426ef5278a4c6a7e162f2
show more ...
|
a2255de5 | 25-May-2022 |
nagarjunb22 <nagarjunb@ami.com> |
Added new cases for IPMI Set User access payload.
Testcases Added:
1) Verify Set User Access Payload For Standard Payload SOL Disable standard payload 1(SOL) using set user access payload co
Added new cases for IPMI Set User access payload.
Testcases Added:
1) Verify Set User Access Payload For Standard Payload SOL Disable standard payload 1(SOL) using set user access payload command and verify it in get user access payload command and also check sol activate is not working.
2) Verify Set User Access Payload For Operator Privileged User Verify set user access payload command is not accessbile for Operator privileged User.
Moved below keywords from ipmi/test_ipmi_user.robot to lib/ipmi_client.robot for reuse purpose. Enable IPMI User And Verify Create Random IPMI User Delete Created User
Added IPMI raw cmd for Set user access payload.
Tested: Run robot ipmi/test_ipmi_paylaod.robot.
Signed-off-by: Nagarjun B <nagarjunb@ami.com> Change-Id: I8c7f3b0e46895fad0f6483043f76b714152a85be
show more ...
|
87138e6f | 19-Apr-2022 |
nagarjunb22 <nagarjunb@ami.com> |
Added new testcase for Get SDR info and Reserve SDR IPMI Commands
Modified Get SDR info testcase to verify supported commands dynamically, rather than harcoded values.
Testcase Added: - Test Re
Added new testcase for Get SDR info and Reserve SDR IPMI Commands
Modified Get SDR info testcase to verify supported commands dynamically, rather than harcoded values.
Testcase Added: - Test Reserve SDR repository. - Verify Reserve SDR repository cmd functionality using get SDR cmd. - Test Invalid reservation ID using Get SDR command. - Verify Reserve SDR cmd after BMC reboot.
Tested Run robot ipmi/test_ipmi_sdr.robot
Signed-off-by: Nagarjun B <nagarjunb@ami.com> Change-Id: I7ac3d23133c42c9823c6cbc4f14d968ecd89b78c
show more ...
|
7fabf794 | 19-Apr-2022 |
nagarjunb22 <nagarjunb@ami.com> |
Added new testcases for Cipher suite IPMI cmd.
Testcases covered in this script: 1) Verify cipher suite IPMI raw cmd for all available channels including channel 14(current channel).
2) Ver
Added new testcases for Cipher suite IPMI cmd.
Testcases covered in this script: 1) Verify cipher suite IPMI raw cmd for all available channels including channel 14(current channel).
2) Verify cipher suite IPMI raw cmd for invalid channels and expects response code 0xcc.
3) Verify cipher suite IPMI raw cmd with one byte more and less for valid channel and expects response code as 0xc7.
Added keyword on lib/ipmi_client.robot to check invalid ipmi cmd.
Added keyword to get invalid channel list in lib/bmc_network_utils.robot.
Tested: Run robot ipmi/test_ipmi_cipher.robot
Signed-off-by: Nagarjun B <nagarjunb@ami.com> Change-Id: Id510a6a7bb4c58770fdd04b32bf5ae9f276e2f39
show more ...
|
9845074a | 19-Apr-2022 |
nagarjunb22 <nagarjunb@ami.com> |
Added new cases for get channel authentication capabilities
Modified existing testcase for get channel authentication capabilities via ipmi cmd to support multiple active channels.
Added testcase t
Added new cases for get channel authentication capabilities
Modified existing testcase for get channel authentication capabilities via ipmi cmd to support multiple active channels.
Added testcase to verify channel auth cap ipmi cmd for invalid channels Getting invalid channels list from /usr/share/ipmi-providers/channel_config.json file.
Added testcase to verify ipmi raw cmd with one extra byte and also raw cmd with one byte less
Tested: Run robot ipmi/test_ipmi_general.robot
Signed-off-by: Nagarjun B <nagarjunb@ami.com> Change-Id: Ie881a0d847bff73d8a86dd5e67268b35fe346b47
show more ...
|
65868c6a | 11-May-2022 |
Jordan Chen <jordanchen@google.com> |
Add Redfish interoperability validator
This change is a proposal to add Redfish interop validator which is also a DMTF tool to validate the Redfish service's conformance. This validator validate the
Add Redfish interoperability validator
This change is a proposal to add Redfish interop validator which is also a DMTF tool to validate the Redfish service's conformance. This validator validate the Redfish service based on an interoperability profile given to it. I've also added a profile for validating the minimal requirements now, we could populate more requirements based on this profile. The benefit of bringing this tool is the user could use this tool to validate their own implementation with their own interoperability profile.
Signed-off-by: Jordan Chen <jordanchen@google.com> Change-Id: Ic00738c349276c6874a4f850cad71b56f9aa8582
show more ...
|
d7e009b6 | 01-Mar-2022 |
chithrag <chithrag@ami.com> |
Add new SEL test cases
Changes: - Added validation for Reserver ID, Most Recent Timestamps, Clear SEL and modifications in Add SEL Entry and Reserver ID
Testcases Modified: - Ve
Add new SEL test cases
Changes: - Added validation for Reserver ID, Most Recent Timestamps, Clear SEL and modifications in Add SEL Entry and Reserver ID
Testcases Modified: - Verify Reserve SEL New Testcases: - Verify Add SEL Entry For Any Random Sensor - Verify IPMI SEL Most Recent Addition Timestamp - Verify IPMI SEL Most Recent Erase Timestamp - Verify Clear SEL With Invalid Reservation ID - Verify Reservation ID Erasure Status - Verify Clear SEL After Cold Reset
Verify Add SEL Entry For Any Random Sensor - Modified with create SEL by sensor number and type taken i from sensor list and sdr get. Verified the result with sel elist last 1
Verify Reserve SEL - Added condition to check if the sel entry is empty.
Verify IPMI SEL Most Recent Addition Timestamp - Gets Most Recent Addition Timestamp from IPMI Sel Info raw command and validate against sel entry date. If no sel entry present, newi sel entry will be created and validates the SEL date againt IPMI Sel Most Recent Addition Timestamp.
Verify IPMI SEL Most Recent Erase Timestamp - Clears the SEL and validates Most Recent Erase Timestamp from SEL Info against bmc current time. Also verifies if Most Recent Addition Timestamp is not available.
Verify Clear SEL With Invalid Reservation ID - Creates two reservation id, stores first reservation id created and tries to clear sel with stored reservation id. Once a new reservationi id is created, previous reservation id generated will no longer be valid.
Verify Reservation ID Erasure Status - Creates a reservation id, clears the sel using the reservation id created, generate a new reservation id, check the erasure status using new reservation id
Verify Clear SEL After Cold Reset - Creates a new reservation id, runs cold reset from lanplus, once bmc is booted, checks whether the generated reservation id is accessible.
Tested: Run robot ipmi/test_ipmi_sel.robot
Signed-off-by: chithrag <chithrag@ami.com> Signed-off-by: George Keishing <gkeishin@in.ibm.com> Change-Id: I3cd71447debaa6ddca05a9d7613e369bea6514b6 Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
4ad123ac | 12-Apr-2022 |
chithrag <chithrag@ami.com> |
Adding Testcases for Set In Progress, Set MAC Address, Get Cipher suite privilege, Set Authentication Type support, Set IP Address Source.
Testcases : - Verify Set In Progress - Verify Invaild S
Adding Testcases for Set In Progress, Set MAC Address, Get Cipher suite privilege, Set Authentication Type support, Set IP Address Source.
Testcases : - Verify Set In Progress - Verify Invaild Set MAC Address Via IPMI - Verify Get and Set MAC Address Via IPMI - Verify Cipher Suite privilege - Verify SET On Authentication Type - Verify IP Address Source Set To Address Loaded By BIOS - Verify IP Address Source Set To Address Obtained By BMC - Verify IP Address Source Set To Unspecified Address Source
Request data for chassis status present in data/ipmi_raw_cmd_table.py
Verify Set In Progress - Sets the Set In progress byte to set-inprogress and set-complete. Verifies the response byte.
Verify Invaild Set MAC Address Via IPMI - Sets the invalid MAC address given in variable section and verifies the error code.
Verify Get and Set MAC Address Via IPMI - Sets the valid MAC Address and verifies it. Restores the default MAC address once the test is complete.
Verify Cipher Suite privilege - Get the Cipher Suite privilege and verifies the response byte and cipher suite length.
Verify Set On Authentication Type - Verifies set Authentication type support and verified error response byte since it is read only byte.
Verify IP Address Source Set To Address Loaded By BIOS - verified set IP address source to address loaded by BIOS or system software and verify error response code.
Verify IP Address Source Set To Address Obtained By BMC - verified set IP address source to address obtained by BMC running other address assignment protocol and verify error response code.
Verify IP Address Source Set To Unspecified Address Source - verified set IP address source to unspecified address and verify error response code.
Tested: Run robot ipmi/test_ipmi_network_verificaton.robot
Signed-off-by: chithrag <chithrag@ami.com> Change-Id: I6ac5eca06d1bc9b61f999a532fa5c34647d76aba
show more ...
|
015f787c | 21-Mar-2022 |
chithrag <chithrag@ami.com> |
Create new script for IPMI System Info Parameters 0 to 5
Following parameters are verfied in the script, 1. Set In Progress - param 0 2. System Firmware Version - param 1 3. System Name - param 2 4.
Create new script for IPMI System Info Parameters 0 to 5
Following parameters are verfied in the script, 1. Set In Progress - param 0 2. System Firmware Version - param 1 3. System Name - param 2 4. Primary Operating System Name - param 3 5. Operating System Name - param 4 6. Present OS Version Number - param 5
Testcases Created: - Verify System Info Set In Progress - Verify System Info Set In Progress After BMC Reboot - Verify Get System Info Set In Progress With Invalid Data Length - Verify Set System Info Set In Progress With Invalid Data Length - Verify Set System Info Set In Progress With Invalid State - Verify System Info System Firmware Version - Verify Get System Info System Firmware Version With Invalid Data Length - Verify Set System Info System Firmware Version With Invalid Data Length - Verify System Info System Name - Verify Get System Info System Name With Invalid Data Length - Verify Set System Info System Name With Invalid Data Length - Verify System Info Primary Operating System Name - Verify System Info Primary Operating System Name After BMC Reboot - Verify Get System Info Primary Operating System Name With Invalid Data Length - Verify Set System Info Primary Operating System Name With Invalid Data Length - Verify System Info Operating System Name - Verify System Info Operating System Name After BMC Reboot - Verify Get System Info Operating System Name With Invalid Data Length - Verify Set System Info Operating System Name With Invalid Data Length - Verify System Info Present OS Version Number - Verify Get System Info Present OS Version Number With Invalid Data Request - Verify Set System Info Present OS Version Number With Invalid Data Request
For Param 0 - Set In Progress, validation for change in set-in-progress/ set-complete are verified with valid request data bytes and invalid request data bytes. Since it is volatile, the response bytes are verified after cold reset.
For param 1 - System Firmware Version, the request data bytes are generated randomly and verified with response data byte, and verified invalid request data byte.
For param 3 - System Name, the request data bytes are generated randomly and verified with response data byte, and verified invalid request data byte.
For param 3 - Primary Operating System Name, the request data bytes are identified in variables section and verified with response data byte, and verified invalid request data byte given as invalid_os_name in variable section. Since it is non-volatile, the response bytes are verified with os_version_name after cold reset.
For param 4 - Operating System Name, the request data bytes are identified in variables section and verified with response data byte, and verified invalid request data byte given as invalid_os_name in variable section. Since it is volatile, the response bytes are verified with default value after cold reset.
For param 5 - Present OS Version Number, the request data bytes are identified in variables section and verified with response data byte, and verified invalid request data byte given as invalid_os_name in variable section.
Request data for system info parameter present in data/ipmi_raw_cmd_table.py Functions used like 'Prefix Bytes' are defined under lib/ipmi_utils.py and 'Split String With Index' in lib/utils.py - already committed in - https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-test-automation/+/51641.
Tested: Run robot ipmi\test_ipmi_systeminfo_parameters.robot
Signed-off-by: chithrag <chithrag@ami.com> Change-Id: Ic0016db9d3707cac496a5b9dbc15ac0f348a51a4
show more ...
|
782ad284 | 12-Mar-2022 |
chithrag <chithrag@ami.com> |
Added new script for inband SDR comands - Get SDR, Get Device SDR Info, Reserve Device SDR Repository and Get Device SDR IPMI commands
Testcases Added : - Verify Get SDR For Maximum Record Via IP
Added new script for inband SDR comands - Get SDR, Get Device SDR Info, Reserve Device SDR Repository and Get Device SDR IPMI commands
Testcases Added : - Verify Get SDR For Maximum Record Via IPMI - Verify Sensor And SDR Count In Get Device SDR Info Via Inband IPMI - Verify Timestamp In Get Device SDR Info Via Inband IPMI - Verify Get Device SDR Info For Invalid Data Request - Verify Device SDR Info Via IPMI Lanplus - Verify Reserve Device SDR Repository Via Inband IPMI - Verify Reserve Device SDR Repository For Invalid Data Request - Verify Reserve Device SDR Repository Info Via IPMI Lanplus - Verify Reserve Device SDR Repository For Partial Record - Verify Reserve Device SDR Repository For Partial Record After BMC Reboot - Verify Reserve Device SDR Repository Invalid Reservation ID For Partial Record - Verify Get Device SDR For Maximum Record Via IPMI - Verify Get Device SDR For Invalid Data Request Via IPMI
Request data for Device SDR present in data/ipmi_raw_cmd_table.py Zfill Data keyword available in lib/utils.py - committed in - https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-test-automation/+/51641
For Get Device SDR Info, Sensor and sdr counts are compared with sensor list and sdr elist all respectively. Timestamps of both sensor and sdr data are validated.
Reserve Device SDR Repository and Get Device SDR Info should be accessible only via KCS interface and not via Lanplus interface.
Get SDR and Get Device SDR verifies maximum number Record IDs with their immediate next Record IDs.
Tested: Run robot ipmi/test_ipmi_inband_sdr.robot
Signed-off-by: chithrag <chithrag@ami.com> Change-Id: Ia69fd02f44cb64f6341f95f987e159ee85f76a5b
show more ...
|
a6be41ed | 01-Mar-2022 |
chithrag <chithrag@ami.com> |
Added new script for IPMI POH Counter Support
POH (Power-On Hours) counter has the incremental count of power ON hours of the system.
Request and Response data defined under data/ipmi_raw_cmd_table
Added new script for IPMI POH Counter Support
POH (Power-On Hours) counter has the incremental count of power ON hours of the system.
Request and Response data defined under data/ipmi_raw_cmd_table.py
Testcases added - - Get POH Counter Command Via IPMI - Verify Get POH Counter With Invalid Data Request Via IPMI - Verify POH Counter Reading With Wait Time - Verify POH Counter Reading With Host Power Off - Verify POH Counter Reading With Host Power On
Script compares Minutes per count and Counter reading for the above scenarios.
Minutes per count usually 60 minutes.
Wait Time given - 1 hour in host powered on state, 1 hour 30 minutes when Host power OFF, 1 hour after Host Power ON
Comparison between Initial POH Counter reading and reading after wait time / Power operation.
Tested: Run robot ipmi/test_ipmi_poh_counter.robot
Signed-off-by: chithrag <chithrag@ami.com> Change-Id: I0137f42cc4af215abfdeef6ad0d9004e9dd2d2dc
show more ...
|
8a17c49c | 01-Mar-2022 |
chithrag <chithrag@ami.com> |
Added New script for IPMI Get Device ID command
This script verifies Get Device ID IPMI command and its response data bytes.
Request Data for Get Device ID given in data\ipmi_raw_cmd_table.py
Resp
Added New script for IPMI Get Device ID command
This script verifies Get Device ID IPMI command and its response data bytes.
Request Data for Get Device ID given in data\ipmi_raw_cmd_table.py
Response data validated for each and every byte, with respect to expected response.
Following data validated in response bytes : - Device ID - Device Revision - Firmware Revision 1 & 2 - IPMI Version - Manufacture ID - Product ID - Auxiliary Firmware Revision Information
Testcases added : - Get Device ID Via IPMI - Verify Get Device ID With Invalid Data Request - Verify Device ID Response Data Via IPMI
Tested: Run robot ipmi/test_ipmi_device_id.robot
Signed-off-by: chithrag <chithrag@ami.com> Change-Id: Ic024c2ea8ceb1f0a7842260266495fcdbfa8f01c
show more ...
|