#
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 ...
|
Revision tags: v5.0-stable, v4.0-stable |
|
#
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 ...
|
Revision tags: robotframework-requests |
|
#
2104d5f9 |
| 31-Jan-2022 |
George Keishing <gkeishin@in.ibm.com> |
Add support to run as sudo user on BMC
Change-Id: I81ee5536fc1b59e70a8e7f5987babdfe412b445a Signed-off-by: George Keishing <gkeishin@in.ibm.com>
|
#
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 |
|
#
b51d1505 |
| 25-Mar-2021 |
George Keishing <gkeishin@in.ibm.com> |
Filter based on REDFISH_SUPPORT_TRANS_STATE for x86 for redfish path
REDFISH_SUPPORT_TRANS_STATE is still a development variable which will be eventually auto populated when the firmware and test is
Filter based on REDFISH_SUPPORT_TRANS_STATE for x86 for redfish path
REDFISH_SUPPORT_TRANS_STATE is still a development variable which will be eventually auto populated when the firmware and test is ready to run is to run in Redfish mode ONLY.
User can force test to run ONLY redfish mode using this varaible -v REDFISH_SUPPORT_TRANS_STATE:1
Change-Id: I64cebc635845376a7564c5b537aa44495c890666 Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
#
89c98377 |
| 13-Aug-2021 |
George Keishing <gkeishin@in.ibm.com> |
Redfish boot progresss changes
Refer: https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/29344 Change-Id: I34af145431f774d83f4445576bbee8fc30dfccef Signed-off-by: George Keishing <gkeishin@in.ibm
Redfish boot progresss changes
Refer: https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/29344 Change-Id: I34af145431f774d83f4445576bbee8fc30dfccef Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
#
21e28b47 |
| 27-May-2021 |
George Keishing <gkeishin@in.ibm.com> |
Add retry post state check keyword timedout
The robot "Redfish Get States" keyword timed out after 2 minutes. This is to re-try one more time to improve boot test success rate.
Change-Id: Icce3ae9f
Add retry post state check keyword timedout
The robot "Redfish Get States" keyword timed out after 2 minutes. This is to re-try one more time to improve boot test success rate.
Change-Id: Icce3ae9f7b53ec4844a2a27ceb5aae1ec33ba59d Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
#
c056c2bb |
| 25-Mar-2021 |
Konstantin Aladyshev <aladyshev22@gmail.com> |
Add a possibility to set PLATFORM_ARCH_TYPE with an environment variable
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I364335d4cec9d258354bd3f52e75f452886dc4db
|
#
8c9cf9c8 |
| 21-Mar-2021 |
Konstantin Aladyshev <aladyshev22@gmail.com> |
Fix conflicting "CurrentPowerState" chassis state from chassis_system0 on x86
Changes: Boot table look up "CurrentPowerState" from the chassis URL "/xyz/openbmc_project/state/chassis0".
Fix conflicting "CurrentPowerState" chassis state from chassis_system0 on x86
Changes: Boot table look up "CurrentPowerState" from the chassis URL "/xyz/openbmc_project/state/chassis0". On x86 there is the 'chassis_system0' URL that has the same property that is needed to be skiped in a state enumeration logic to prevent unnecessary state override.
"/xyz/openbmc_project/state/chassis0": { "CurrentPowerState": "On",
"/xyz/openbmc_project/state/chassis_sytem0": { "CurrentPowerState": "Off",
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I772fce4a8dbbd079829e4572d60b39ebf3727c07
show more ...
|
#
1e2fbee9 |
| 19-Mar-2021 |
George Keishing <gkeishin@in.ibm.com> |
Add x86 infrastruction for boot test
Changes: - Add platform type user driven option "x86". by default it will choose platform "power" - Add filter to removed x86 non supported states from s
Add x86 infrastruction for boot test
Changes: - Add platform type user driven option "x86". by default it will choose platform "power" - Add filter to removed x86 non supported states from state.py - Remove "operating_systems" entry from data/boot_table_x86.json
How To test: robot -v OPENBMC_HOST:xx.xx.xx.xx -v PLATFORM_ARCH_TYPE:x86 <test suite>
Change-Id: Id49b07e620150e4ed0c4fa45675959f647f4f878 Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
#
4361d8de |
| 24-Mar-2021 |
George Keishing <gkeishin@in.ibm.com> |
Add SSH time_out enforce when called during BMC reset
This is to prevent SSH to BMC getting hang if the execution on BMC to get uptime stalled during reset.
Change-Id: Ic6a6217ea5cd30e20dd4335bf59e
Add SSH time_out enforce when called during BMC reset
This is to prevent SSH to BMC getting hang if the execution on BMC to get uptime stalled during reset.
Change-Id: Ic6a6217ea5cd30e20dd4335bf59e7fd867b720da Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
#
18f15dd7 |
| 09-Mar-2021 |
George Keishing <gkeishin@in.ibm.com> |
New x86 boot table and required changes
Changes: - New boot table for x86 OpenBMC build which doesn't support BootProgress. - Initialize state.py boot_progress to make it optional if i
New x86 boot table and required changes
Changes: - New boot table for x86 OpenBMC build which doesn't support BootProgress. - Initialize state.py boot_progress to make it optional if it fails in state URI enumeration.
Note: We don't have x86 setup to test the changes.
To test use bellow option in robot CLI
-v BOOT_TABLE_PATH:data/boot_table_x86.json
Change-Id: I74e334ab30e4b2e35f2520870f6a002d9b5bf6b8 Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
#
3390c85e |
| 11-Feb-2021 |
Michael Shepos <shepos@us.ibm.com> |
Support Wait State keyword inside plugin.
Signed-off-by: Michael Shepos <shepos@us.ibm.com> Change-Id: If6120c480efdc65ab031fbdb0570b0b19860a768
|
#
3adda95e |
| 11-Feb-2021 |
George Keishing <gkeishin@in.ibm.com> |
Fix conflicting "CurrentHostState" host state from hypervisor
Changes: Boot table look up "CurrentHostState" but from the host URL "/xyz/openbmc_project/state/host0". Skipping the hyperv
Fix conflicting "CurrentHostState" host state from hypervisor
Changes: Boot table look up "CurrentHostState" but from the host URL "/xyz/openbmc_project/state/host0". Skipping the hypervisor state from the state enumeration logic for checking the boot state.
"/xyz/openbmc_project/state/host0": { "CurrentHostState": "xyz.openbmc_project.State.Host.HostState.Running",
"/xyz/openbmc_project/state/hypervisor0": { "CurrentHostState": "xyz.openbmc_project.State.Host.HostState.TransitioningToRunning",
Change-Id: I77b8beb26a6b9949bdaff33094e1beb5b4d3daf7 Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
#
bdd1dcea |
| 10-Dec-2020 |
Michael Shepos <shepos@us.ibm.com> |
Changes to read the redfish boot progress state
Signed-off-by: Michael Shepos <shepos@us.ibm.com> Change-Id: I17557c1dbff5e9b26bb0d305db02758cbfff6272
|
#
da40c1d2 |
| 01-Dec-2020 |
Michael Shepos <shepos@us.ibm.com> |
Changes to support Redfish boot progress
Signed-off-by: Michael Shepos <shepos@us.ibm.com> Change-Id: Icfe34896b5801f13a344b6a3983696796dc476cb
|
#
e9192561 |
| 28-Sep-2020 |
David Shaw <dlshaw@us.ibm.com> |
Increase wait_for_comm_cycle to 12 mins
Signed-off-by: David Shaw <dlshaw@us.ibm.com> Change-Id: Id7dc0ed45345b00e1a55d1a7048a45a3787261a8
|
#
54078477 |
| 30-Jul-2020 |
David Shaw <dlshaw@us.ibm.com> |
Increase read properties timeout in state.py
- Timeouts have occured in simulation firmware testing. Increase timeout from 10 to 30 seconds to fix the problem.
Signed-off-by: David Shaw
Increase read properties timeout in state.py
- Timeouts have occured in simulation firmware testing. Increase timeout from 10 to 30 seconds to fix the problem.
Signed-off-by: David Shaw <dlshaw@us.ibm.com> Change-Id: Ib4ebf18ac9b10002212ddef5fbd6019603fe3182
show more ...
|
Revision tags: v2.8.0-stable |
|
#
2a0df683 |
| 27-Sep-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
wait_for_comm_cycle to wait for uptime
- Modify wait_for_comm_cycle() to wait for uptime to be less than elapsed_boot_time. It will no longer insist that packet_loss reach 100 and that it then
wait_for_comm_cycle to wait for uptime
- Modify wait_for_comm_cycle() to wait for uptime to be less than elapsed_boot_time. It will no longer insist that packet_loss reach 100 and that it then reach 0. - Modify compare_states() function to evaluate python expressions in addition to processing regular expressions. - Modify get_state to get elapsed_boot_time - Miscellaneous cleanup: - valid_value, etc. no longer needs to be fed var_name. - "Description of arguments" syntax was not adhering to standard. - Changed anchor_state() and strip_anchor_state() to stop reading values from state dictionary. The first goal was to stop using the name match_state_value since the function need not presume that the dictionary is a match dictionary.
Change-Id: I7d958c7a98ca879949414a20ecbc7cb86204709a Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
#
ec01a6f6 |
| 01-Aug-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
Adjust to deprecated validation functions
- The "svalid" functions (e.g. svalid_value) have been deprecated. The new method is to use the corresponding "valid" function (e.g. valid_value).
- A
Adjust to deprecated validation functions
- The "svalid" functions (e.g. svalid_value) have been deprecated. The new method is to use the corresponding "valid" function (e.g. valid_value).
- Also, valid_range now takes lower and upper args (vs. the old "<lower>..<upper>" string).
Change-Id: Ib554b4991c8a2ef8925380003941e355aa5cadd6 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
Revision tags: v2.7-warrior-stable |
|
#
888d85a4 |
| 18-Apr-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
get_state process uptime in test_mode
Made changes to get_state() function to process uptime requests even when test_mode is set to 1.
Change-Id: I5e2309996ae84ad31b736529adb8e48308edac9d Signed-of
get_state process uptime in test_mode
Made changes to get_state() function to process uptime requests even when test_mode is set to 1.
Change-Id: I5e2309996ae84ad31b736529adb8e48308edac9d Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
#
6a69d26f |
| 03-Apr-2019 |
George Keishing <gkeishin@in.ibm.com> |
DMTF tool power on operation
Change-Id: I871dba155609a029ce659fa12881e9facc8ac632 Signed-off-by: George Keishing <gkeishin@in.ibm.com>
|
#
edb5c949 |
| 28-Mar-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
Remove use of newly deprecated rprint_issuing_keyword
The gen_print.py print_issuing function will now handle robot commands that are formed as a list.
Change-Id: I8f3f22d55afbb09c58f8a27c2c76b8a93
Remove use of newly deprecated rprint_issuing_keyword
The gen_print.py print_issuing function will now handle robot commands that are formed as a list.
Change-Id: I8f3f22d55afbb09c58f8a27c2c76b8a93975c015 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|