History log of /openbmc/openbmc-test-automation/extended/obmc_boot_test_resource.robot (Results 1 – 14 of 14)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 6c452dee 19-Sep-2023 George Keishing <gkeishin@in.ibm.com>

Handle Redfish login for Legacy REST supported systems

Changes:
- Add ignore directive for boot test login try

Note:
- We will sunset legacy REST by Q4 2023 year end.

Fixes the following er

Handle Redfish login for Legacy REST supported systems

Changes:
- Add ignore directive for boot test login try

Note:
- We will sunset legacy REST by Q4 2023 year end.

Fixes the following error::
REST Host Code Update :: Do a PNOR code update by uploading image ... | FAIL |
ValueError: bmc_redfish.__init__() was never successfully run.
It is likely that the target BMC firmware code level does not support redfish.

Tested:
- Test from sandbox

Change-Id: Iec6281e06cd76150512bbfa724cba30f156b6a49
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


# 80fba7eb 28-Apr-2023 ganesanb <ganesanb@ami.com>

Added redfish.login in obmc_boot_test_resource.robot file

Changes:
- While running bunch of scripts, sometimes due to session not available power operations keywords are getting failed.
Hence ad

Added redfish.login in obmc_boot_test_resource.robot file

Changes:
- While running bunch of scripts, sometimes due to session not available power operations keywords are getting failed.
Hence added redfish.login in OBMC Boot Test keyword on extended/obmc_boot_test_resource.robot file.

Tested:
- Ran All The Scripts Successfully

Change-Id: I44b3c8469c8044a0e74aec030057da505b709281
Signed-off-by: ganesanb <ganesanb@ami.com>

show more ...


Revision tags: robotframework-requests, v2.10-Hardknott, v2.8.0-stable
# a3e7b222 03-Feb-2020 Michael Walsh <micwalsh@us.ibm.com>

Add support for BOOT_TABLE_PATH -v parm

Change-Id: I99d7210c77fe44043420d75fadc107d3c444a72c
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>


# 046fe223 08-Nov-2019 Michael Walsh <micwalsh@us.ibm.com>

Use SSH_PORT/HTTPS_PORT in basic functions

- In order to improve the code base's ability to run with simulated
machines, specified SSH_PORT and HTTPS_PORT in basic functions that
com

Use SSH_PORT/HTTPS_PORT in basic functions

- In order to improve the code base's ability to run with simulated
machines, specified SSH_PORT and HTTPS_PORT in basic functions that
communicate with the OBMC machine.
- Also adjusted some calls to set or pass SSH_PORT and HTTPS_PORT.

Change-Id: If3a8b317eda80ac9c071c51084ede20ce3023484
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


# 77699612 17-Jul-2019 Michael Walsh <micwalsh@us.ibm.com>

Added do_pre_boot_plug_in_setup -v parm

obmc_boot_test_resource.robot:
- New support for do_pre_boot_plug_in_setup.
- Re-aligned variable definitions for readability.

Change

Added do_pre_boot_plug_in_setup -v parm

obmc_boot_test_resource.robot:
- New support for do_pre_boot_plug_in_setup.
- Re-aligned variable definitions for readability.

Change-Id: I09c2e61b71c01acb8318ebf80c1d6718e45f5ddb
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


Revision tags: v2.7-warrior-stable
# 0a3bdb4c 31-Jan-2019 Michael Walsh <micwalsh@us.ibm.com>

New Auto_reboot plug-in II

Also, added code to obmc boot test to process rest_username and
rest_password.

Change-Id: I7b64be7072d4848230e9d47a4da54ac89794af64


Revision tags: v2.6-thud-stable, v2.2-stable
# 89de14a4 01-Oct-2018 Michael Walsh <micwalsh@us.ibm.com>

Added support for new post_stack plug-in call point

This will allow programmers to write plug-in programs which will called
as soon as the boot_stack has been processed.

Change-

Added support for new post_stack plug-in call point

This will allow programmers to write plug-in programs which will called
as soon as the boot_stack has been processed.

Change-Id: I4ccafff148cada6f71ec59b28dadcebc609029a4
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


Revision tags: v2.1-stable
# f4a807bf 20-Jun-2018 Joy Onyerikwu <onyekachukwu.joy.onyerikwu@ibm.com>

Enforced robotframework standards.

- The standards are enforced using the rflint static anylysis tool.
- More standards will be added in future commits but this is a base
starting

Enforced robotframework standards.

- The standards are enforced using the rflint static anylysis tool.
- More standards will be added in future commits but this is a base
starting point.

Change-Id: I7dd8a2b0b42a51327b748cb730609d7ee2538de3
Signed-off-by: Joy Onyerikwu <onyekachukwu.joy.onyerikwu@ibm.com>

show more ...


Revision tags: v2.0-stable
# b3705fc7 14-Nov-2017 Michael Walsh <micwalsh@us.ibm.com>

Remove hashtag lines from all .robot and tcl files.

Change-Id: I60f60f5dc3dbec07d1bdd6743c926ad82d34c23f
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>


# aabef1e3 20-Sep-2017 Michael Walsh <micwalsh@us.ibm.com>

Made deletion of errlogs optional with default of ${0}.

Resolves https://github.com/openbmc/openbmc-test-automation/issues/987

Change-Id: Iadc017592267088fff1d65d1cd419a151dd23705

Made deletion of errlogs optional with default of ${0}.

Resolves https://github.com/openbmc/openbmc-test-automation/issues/987

Change-Id: Iadc017592267088fff1d65d1cd419a151dd23705
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


# ff340006 29-Aug-2017 Michael Walsh <micwalsh@us.ibm.com>

Allow boot_utils users to pass stack_mode/quiet.

Where at one time users had to do this:

Set Global Variable ${stack_mode} skip
Set Global Variable ${quiet} ${1}

Allow boot_utils users to pass stack_mode/quiet.

Where at one time users had to do this:

Set Global Variable ${stack_mode} skip
Set Global Variable ${quiet} ${1}
REST Power On

They may now do this:

REST Power On stack_mode=skip quiet=1

Change-Id: I53d34a591a529d890e85b3f7b23a322d2f26e7e2
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


# d874408e 27-Jul-2017 Michael Walsh <micwalsh@us.ibm.com>

Change boot_fail_threshold to 0.

The majority of users will benefit from boot_fail_threshold of 0
which means that if any boot fails, the whole run is considered a
failure.

Change boot_fail_threshold to 0.

The majority of users will benefit from boot_fail_threshold of 0
which means that if any boot fails, the whole run is considered a
failure.

Change-Id: If07f11fe4f102b7819b8ed10548d076a28dfad05
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


# 83f4bc77 20-Apr-2017 Michael Walsh <micwalsh@us.ibm.com>

Fixes to obmc_boot_test.py for re-use by other keywords.

- Needed to set sys.path if PYTHONPATH doesn't contain <git-repo>/lib/.
- Made greater use of new run_key functions.
- Rename

Fixes to obmc_boot_test.py for re-use by other keywords.

- Needed to set sys.path if PYTHONPATH doesn't contain <git-repo>/lib/.
- Made greater use of new run_key functions.
- Renamed main_keyword_teardown to obmc_boot_test_teardown.
- Renamed obmc_boot_test to obmc_boot_test_py.
- Renamed Main to OBMC Boot Test and moved it from obmc_boot_test.robot
to obmc_boot_test_resource.robot. Also changed the call within it to
pass along all arguments and to call the newly named
OBMC Boot Test Py.
- Added support for ffdc_function_list.

Change-Id: Ie5b1145e0046e57b896fd11c402317a154d5db7b
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


# b5839d00 12-Apr-2017 Michael Walsh <micwalsh@us.ibm.com>

Changed obmc_boot_test to improve usability by robot programs.

- Created new obmc_boot_test_resource.robot to define parms for
obmc_boot_test.robot. This is to make it possible for ot

Changed obmc_boot_test to improve usability by robot programs.

- Created new obmc_boot_test_resource.robot to define parms for
obmc_boot_test.robot. This is to make it possible for other robot
programs to have access to obmc_boot_functionality.
- Created process_pgm_parms function to process program parameters.
Previously, this was done in the program prolog.
- Added support for new stack_mode parameter. When stack mode is
"normal", the program behaves as it always has. In "skip" mode,
when each boot test is pulled from the stack, the boot test is
skipped if the system is already in the desired end state for
the boot test in question. This feature allows a user to run
a boot like "REST Power Off" only if the machine is not already
powered off.
- Renamed main_py to obmc_boot_test so that other robot files can
call it and have it be more self documenting. Example:
OBMC Boot Test \ REST Power Off
- Added a single alt_boot_stack parm to the new obmc_boot_test
function. Again, this allows the user to call and pass a boot_stack
as shown in the prior example.
- Added support for new boot_fail_threshold parameter. This allows
a caller to indicate how many failures are acceptable. If the
number of boot failures exceeds boot_fail_threshold, then the
OBMC Boot Test keyword will fail.
- Switched many gen_robot_print references to gen_print.
- Made many changes to use new run_key function.

Change-Id: I56aad535dac30ab516fdc530866c09dcbca277f3
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...