Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v5.0-stable, v4.0-stable
# 6fb70d98 24-Oct-2023 Matt Fischer <matthew.fischer@hpe.com>

Switch from Force Tags to Test Tags

Force Tags is deprecated in Robot 7.0 and will eventually
warn and then after that stop working. Test Tags performs
the same function per docs.

Change-Id: I7cf30

Switch from Force Tags to Test Tags

Force Tags is deprecated in Robot 7.0 and will eventually
warn and then after that stop working. Test Tags performs
the same function per docs.

Change-Id: I7cf305754b247b995a05d8da3b9de9ed613ecae2
Signed-off-by: Matt Fischer <matthew.fischer@hpe.com>

show more ...


# 409df05d 17-Jan-2024 George Keishing <gkeishin@in.ibm.com>

Robot Framework 7.0 changes

Update robot code syntax overall in the repo

Changes:
- Update the requirement.txt package version for robot
- The '[Return]' setting is deprecated.
Use the

Robot Framework 7.0 changes

Update robot code syntax overall in the repo

Changes:
- Update the requirement.txt package version for robot
- The '[Return]' setting is deprecated.
Use the 'RETURN' statement instead.
- Singular section headers like '*** Test Case ***'
are deprecated. Use plural format like
'*** Test Cases ***' instead.
- Singular section headers like '*** Variable ***'
are deprecated

Tested:
- Ran from sandbox with the version
$ robot --version
Robot Framework 7.0 (Python 3.10.12 on linux)

and also tested on latest python version

Robot Framework 7.0 (Python 3.11.9 on linux)

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

show more ...


# 6093f77d 10-May-2024 Vidya-Kalasappanavar <Vidya.Kalasappanavar@ibm.com>

Move TC from the error log suite to the IPMI suite

Changes:
   - Move TC Verify IPMI SEL Event Entries from
test_event_logging.robot to test_ipmi_sel.robot
   - Replace count with count + 1

Move TC from the error log suite to the IPMI suite

Changes:
   - Move TC Verify IPMI SEL Event Entries from
test_event_logging.robot to test_ipmi_sel.robot
   - Replace count with count + 1
- Added IPMI SEL Clear command to clear the entries

Tested:
  - Ran and tested on BMC Environment

Change-Id: Iff31d4e83ba060309174144760bbc576561684b6
Signed-off-by: Vidya-Kalasappanavar <Vidya.Kalasappanavar@ibm.com>

show more ...


# adf10ee9 14-May-2024 manashsarma <manashsarma@in.ibm.com>

Fix errorlog automation testcase

Changes: - Modified entry ID check for test case "Test Event
Entry Numbering Reset On Restart".

Tested: - Ran the testcase from sandbox successfully.

C

Fix errorlog automation testcase

Changes: - Modified entry ID check for test case "Test Event
Entry Numbering Reset On Restart".

Tested: - Ran the testcase from sandbox successfully.

Change-Id: I78f644ca675dab9277e5c15bb964c2b43fbb7d98
Signed-off-by: manashsarma <manashsarma@in.ibm.com>

show more ...


# d7690750 30-Apr-2024 Vidya-Kalasappanavar <Vidya.Kalasappanavar@ibm.com>

Move tests from the error log suite to the IPMI suite

Changes:
- Created a new keyword
- Below test case moved to test_ipmi_sel.robot
Verify_IPMI_SEL_Event_Last_Add_Time
Delete Non-E

Move tests from the error log suite to the IPMI suite

Changes:
- Created a new keyword
- Below test case moved to test_ipmi_sel.robot
Verify_IPMI_SEL_Event_Last_Add_Time
Delete Non-Existing SEL Event Entry
Delete Invalid SEL Event Entry
- Removed above test cases from test_event_logging.robot
Tested:
- Ran and tested on BMC Environment.

Change-Id: I5db573687ed551e533c6b641ea1891da90e8d0d6
Signed-off-by: Vidya-Kalasappanavar <Vidya.Kalasappanavar@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 ...


# f699f55d 14-Sep-2023 George Keishing <gkeishin@in.ibm.com>

Redfish event update test suite Force tags as per standard

Changes:
- Update Tags names for the test suite

Note: Refer CONTRIBUTING.md for under Tags section
documentation.

Tested:
-

Redfish event update test suite Force tags as per standard

Changes:
- Update Tags names for the test suite

Note: Refer CONTRIBUTING.md for under Tags section
documentation.

Tested:
- NA

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

show more ...


# f4372444 09-May-2023 dnirmala <dhurgam.nirmala1@ibm.com>

Fix for the error log testcases
Changes:

- Removed the milliseconds from timestamp
Tested:

- Ran testcase successfully from sandbox

Change-Id: I9e5da666ace6e9e518c748f92d3dd7f54380b30b
Sig

Fix for the error log testcases
Changes:

- Removed the milliseconds from timestamp
Tested:

- Ran testcase successfully from sandbox

Change-Id: I9e5da666ace6e9e518c748f92d3dd7f54380b30b
Signed-off-by: dnirmala <dhurgam.nirmala1@ibm.com>

show more ...


# 2e092d04 18-Apr-2023 dnirmala <dhurgam.nirmala1@ibm.com>

Added new testcase to verify default status of error log.

Changes:

-Added new testcase
Verify_Default_Value_Of_Resolved_Field_Is_False_For_An_Error_Log_Via_Redfish
Tested:
- Ran above

Added new testcase to verify default status of error log.

Changes:

-Added new testcase
Verify_Default_Value_Of_Resolved_Field_Is_False_For_An_Error_Log_Via_Redfish
Tested:
- Ran above test case from sandbox successfully.

Change-Id: Ie7618bdc820029c1bdc1828133b9ba71f5262792
Signed-off-by: dnirmala <dhurgam.nirmala1@ibm.com>

show more ...


Revision tags: robotframework-requests
# 2ab62414 28-Jul-2022 George Keishing <gkeishin@in.ibm.com>

Watchdog timer test case update

Changes:
- Add new logic to set the watchdog timer
- Replace legacy REST code with Redfish
- Add new keyword to check boot and host state
- Update

Watchdog timer test case update

Changes:
- Add new logic to set the watchdog timer
- Replace legacy REST code with Redfish
- Add new keyword to check boot and host state
- Update test logic and documentation fixes.

Tested:
robot -v OPENBMC_HOST:xx.xx.xx.xx
--include Verify_Watchdog_Timedout_Event
redfish/systems/eventlog/test_event_logging.robot

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

show more ...


# 033ee18f 28-Jul-2022 George Keishing <gkeishin@in.ibm.com>

Add uptime tracing for event logging create on BMC

Changes:
- Added uptime command before and after the logging binary
is executed. This is more for debugging and knowing the
load it g

Add uptime tracing for event logging create on BMC

Changes:
- Added uptime command before and after the logging binary
is executed. This is more for debugging and knowing the
load it generated during those window

Tested:
Ran successfully
robot -v OPENBMC_HOST:xx.xx.xx.xx
--include Verify_Event_Logs_Capping
--include Test_Event_Log_Wrapping
-v DEBUG_TARBALL_PATH:obmc-phosphor-debug-tarball-witherspoon.tar.xz
redfish/systems/eventlog/test_event_logging.robot

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

show more ...


# d226bbd0 26-Apr-2022 Tim Lee <timlee660101@gmail.com>

systems: eventlog: fix Host state cannot match expected match_state

Symptom:
Boot failures exceed the boot failure threshold. The states no longer match.
state:
[boot_progress]:

systems: eventlog: fix Host state cannot match expected match_state

Symptom:
Boot failures exceed the boot failure threshold. The states no longer match.
state:
[boot_progress]: Unspecified
[host]: Running
[operating_system]: Inactive
match_state:
[boot_progress]: FW Progress, Starting OS|OSStart
[operating_system]: Standby
[host]: Running

Root cause:
In test "test_event_logging.robot" that use "Trigger Host Watchdog Error" cause
Host be rebooted by watchdog. However, in "test_led_indicator_asserted.robot"
that will call "Redfish Power ${pre_req_state}" to keep Host at previous state
then perform the test. Sometimes, this results the host report is not be booted
even if it actually is. Eventually, cause test case confusion then return error

Solution:
For fixing this false alarm wait few seconds for Host be booted properly

Tested:
Run robot test redfish/systems/eventlog/test_event_logging.robot then
run redfish/systems/test_led_indicator_asserted.robot continuity

Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: I2f7e93df9b430cc889d8f0b09ac86b9acaf039df

show more ...


# 20560f9c 21-Dec-2021 Rahul Maheshwari <rahulmaheshwari@in.ibm.com>

Added power off at start to avoid error logs getting logged during boot

Change-Id: Ida3c72b05bfc73bd725970adbd9baabefd3def7c
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>


# c2d33651 21-Dec-2021 Rahul Maheshwari <rahulmaheshwari@in.ibm.com>

Removed REST usage from Create_Two_Test_Event_Logs_And_Delete_One test

Change-Id: Ifbab4edcc94498a7fbfe240f41c18aa8a43494a5
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>


# 24034a99 18-Aug-2021 Rahul Maheshwari <rahulmaheshwari@in.ibm.com>

Removed resolve field test case as it uses older xyz path

Same test case is already impemented using Redfish -
Verify_Setting_Error_Log_As_Resolved

Change-Id: I0545aba1fed87d411a6d70070088fa760b3db

Removed resolve field test case as it uses older xyz path

Same test case is already impemented using Redfish -
Verify_Setting_Error_Log_As_Resolved

Change-Id: I0545aba1fed87d411a6d70070088fa760b3db205
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>

show more ...


Revision tags: v2.10-Hardknott
# 6462f26d 10-May-2021 Rahul Maheshwari <rahulmaheshwari@in.ibm.com>

Added test to update resolved field of error log

Change-Id: I925b6ca4a56f6c42217dc7f1df90115863ff6474
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>


# 20c08e41 10-May-2021 Rahul Maheshwari <rahulmaheshwari@in.ibm.com>

Delete Redfish error log and verify

Change-Id: Id21ead55f5c1882b63d054896aab4f369330d5c1
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>


# 89f499d5 19-Apr-2021 George Keishing <gkeishin@in.ibm.com>

Fix typo tagging name and documentation

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


Revision tags: v2.8.0-stable
# 58520d01 24-Feb-2020 George Keishing <gkeishin@in.ibm.com>

Update event logging attribute string

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


# 9786604b 25-Oct-2019 George Keishing <gkeishin@in.ibm.com>

Remove powering off post watchdog timedout test case

The powering off post system going for re-powering doesnt add
value or use case but causing inconsistent failure due to timing
of powering off.

Remove powering off post watchdog timedout test case

The powering off post system going for re-powering doesnt add
value or use case but causing inconsistent failure due to timing
of powering off.

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

show more ...


# 2f36947b 23-Jul-2019 George Keishing <gkeishin@in.ibm.com>

Fix event logging suite setup

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


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

Remove use of deprecated terse() on print_var

terse is now the default.

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


Revision tags: v2.7-warrior-stable
# d2d2bd2b 12-Jun-2019 George Keishing <gkeishin@in.ibm.com>

Add delay for error generation

Changes:
- logging-test app crashes out during error generation. Added
1 second delay to allow app to create event log.

Change-Id: I3b644440d91a3a10d4d0bd

Add delay for error generation

Changes:
- logging-test app crashes out during error generation. Added
1 second delay to allow app to create event log.

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

show more ...


# ddbc88c7 06-Jun-2019 George Keishing <gkeishin@in.ibm.com>

Use case for user to mark event log as resolved and delete

Added:
- Create Test Event Log And Verify Resolved Field
- Create Two Test Event Logs And Delete One
- Verify IPMI SEL Delete
-

Use case for user to mark event log as resolved and delete

Added:
- Create Test Event Log And Verify Resolved Field
- Create Two Test Event Logs And Delete One
- Verify IPMI SEL Delete
- TODO: openbmc/openbmc-test-automation#1789

Removed:
- Delete extended/test_error_log.robot file, old REST code
porting is completed.

Note: This two test cases is still largely REST, till we get the
support needed mentioned in TODO above.

Resolves openbmc/openbmc-test-automation#1776

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

show more ...


# 759c6f97 03-Jun-2019 George Keishing <gkeishin@in.ibm.com>

Redfish event log wrapping test

Added:
- To to verify event log wraps when the MAX cap limit of 200
is created.

Change-Id: Iec9b749f10182f1ec3f4e6c0fc87e86ffde6aa71
Signed-off-by: George Ke

Redfish event log wrapping test

Added:
- To to verify event log wraps when the MAX cap limit of 200
is created.

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

show more ...


12