History log of /openbmc/openbmc-test-automation/lib/ (Results 451 – 475 of 1622)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
e919256128-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

7fe83b3221-Sep-2020 Michael Shepos <shepos@us.ibm.com>

Add redfish_rest_supported to additional_values.

Signed-off-by: Michael Shepos <shepos@us.ibm.com>
Change-Id: I131dad9b2cd18f64e14a68bafe2f45ddef56b783

d03f2ce117-Sep-2020 Sushil Singh <susilsi7@in.ibm.com>

Re-write lock management test suit

Changes:
- Re-structure lock management test suite.
- Add new test case "Acquire And Release Lock In Loop".

Change-Id: I1d7021440e564bff5b4d7046e5b52a030d

Re-write lock management test suit

Changes:
- Re-structure lock management test suite.
- Add new test case "Acquire And Release Lock In Loop".

Change-Id: I1d7021440e564bff5b4d7046e5b52a030d4adee3
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>

show more ...

4ec68ba811-Sep-2020 Sushil Singh <susilsi7@in.ibm.com>

Client identifier automation for non admin user

Changes:
- Added test case "Create Session For Non Admin User"
- Added keyword "Redfish Get Request"

Change-Id: I9d361bf0ab0872454ed1415c6b322d

Client identifier automation for non admin user

Changes:
- Added test case "Create Session For Non Admin User"
- Added keyword "Redfish Get Request"

Change-Id: I9d361bf0ab0872454ed1415c6b322dd3aef79ba4
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>

show more ...

dc187d4e11-Sep-2020 Sushil Singh <susilsi7@in.ibm.com>

To get the IP of test bed system

Change-Id: Ie7efb127caa4bed9053f05957a25f1fd56089161
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>

fdc51d2318-Aug-2020 shrsuman123 <shrsuman@in.ibm.com>

Added MAC verify on fwenv testcases

Changes:
-Configure Valid MAC And Verify
-Configure Invalid MAC And Verify on FW_Env
-Configure Valid MAC And Verify Persistency
-Configure In

Added MAC verify on fwenv testcases

Changes:
-Configure Valid MAC And Verify
-Configure Invalid MAC And Verify on FW_Env
-Configure Valid MAC And Verify Persistency
-Configure Invalid MAC And Verify Persistency On FW_Env
-Added Validate MAC On FW_Env in test teardown
-Configure Out Of Range MAC And Verify
-Configure More Byte MAC And Verify

Keywords added:
-Get FW_Env MAC Address
-Truncate MAC Address
-Truncate MAC bits
-Validate MAC On FW_Env
-Verify MAC Address via FW_Env

Change-Id: Ie72fa551497bd27c9d1befb04f33e5b213e989c5
Signed-off-by: shrsuman123 <shrsuman@in.ibm.com>

show more ...

1a67b08a28-Aug-2020 Michael Shepos <shepos@us.ibm.com>

Print to console error logs and PELs listing prior to deletion

Signed-off-by: Michael Shepos <shepos@us.ibm.com>
Change-Id: I8c411966396aba3c830645a47ffadad6a9705809

07297f8b08-Sep-2020 Sushil Singh <susilsi7@in.ibm.com>

Automation fix for ifconfig command

Changes:
- New implementaion uses socket module to get the ip address.

Change-Id: I9529b987057f93449e0570571eb5b324487c2eac
Signed-off-by: Sushil Singh <susil

Automation fix for ifconfig command

Changes:
- New implementaion uses socket module to get the ip address.

Change-Id: I9529b987057f93449e0570571eb5b324487c2eac
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>

show more ...

bfaeb03601-Sep-2020 Sushil Singh <susilsi7@in.ibm.com>

Automation fix for ifconfig command

Changes:
- ifconfig error message:
Command 'ifconfig' returned non-zero exit status 127.
- New implementaion uses socket module to get the hostname.

C

Automation fix for ifconfig command

Changes:
- ifconfig error message:
Command 'ifconfig' returned non-zero exit status 127.
- New implementaion uses socket module to get the hostname.

Change-Id: I3b60efe5b88fb44676b729cb8b28ebb9cf735638
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>

show more ...

5d6d3e3831-Aug-2020 Sushil Singh <susilsi7@in.ibm.com>

Automation fix for ifconfig command

changes:
- ifconfig error message:
Command 'ifconfig' returned non-zero exit status 127
- command changed to /sbin/ifconfig

Change-Id: I123c86ba2a444c

Automation fix for ifconfig command

changes:
- ifconfig error message:
Command 'ifconfig' returned non-zero exit status 127
- command changed to /sbin/ifconfig

Change-Id: I123c86ba2a444c0286b10aa15cbf1c3b1a2597a5
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>

show more ...

8469a48530-Jul-2020 Sushil Singh <susilsi7@in.ibm.com>

Run code update in loop

changes:
- Default loop count value is set to 20, but can be passed as argument.
- Added test case "Redfish Firmware Update Loop"
- Added keyword "Redfish Firmware U

Run code update in loop

changes:
- Default loop count value is set to 20, but can be passed as argument.
- Added test case "Redfish Firmware Update Loop"
- Added keyword "Redfish Firmware Update In Loop"
- Added keyword "Get BMC Functional Firmware"
- Added keyword "Get Functional Firmware"
- Added keyword "Get Non Fucntional Firmware"
- Added keyword "Delete BMC Image"

Change-Id: I1ba7fff156ba2e8c85baa01f0f4b3267e2b5c4cd
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>

show more ...

cc490b4126-Aug-2020 Michael Shepos <shepos@us.ibm.com>

Add quiet arg to Delete Error Logs

Signed-off-by: Michael Shepos <shepos@us.ibm.com>
Change-Id: I2aaf3dcebd98a9f3101bc379dd1dee95c08fbb4d

d66cd55520-Aug-2020 Michael Shepos <shepos@us.ibm.com>

Add OPAL Terminate Immeadiate boot test

Changes:
- Added new keyword for OPAL TI.
- Changes in boot table JSON file.

Signed-off-by: Michael Shepos <shepos@us.ibm.com>
Change-Id: I4bb26f18f6ed

Add OPAL Terminate Immeadiate boot test

Changes:
- Added new keyword for OPAL TI.
- Changes in boot table JSON file.

Signed-off-by: Michael Shepos <shepos@us.ibm.com>
Change-Id: I4bb26f18f6ed6d1722ea79f4b95b69bbd27dd94b
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...

45d841e330-Jul-2020 Sushil Singh <susilsi7@in.ibm.com>

Added a test case to create a session with clientid and verify
its exsistence

Changes:
- Added test case "Create A Session With ClientID And Verify".
- Added logic in lib to find test bed syst

Added a test case to create a session with clientid and verify
its exsistence

Changes:
- Added test case "Create A Session With ClientID And Verify".
- Added logic in lib to find test bed system IP(s).

Change-Id: I6f49d3c36c179bb22785352544b69ac25f46d484
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>

show more ...

e68cbfb312-Aug-2020 George Keishing <gkeishin@in.ibm.com>

Fix typo spelling in the test documentation

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

5407847730-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 ...

ccd20e1729-Jul-2020 George Keishing <gkeishin@in.ibm.com>

Increase FFDC GET request for REST call timedout

Changes:
- FFDC is meant to collect data at best and not for performance
and its better to give chance for REST server to respond then

Increase FFDC GET request for REST call timedout

Changes:
- FFDC is meant to collect data at best and not for performance
and its better to give chance for REST server to respond then
timedout during critical FFDC collection.

We have seen instances where BMC stop responding momentarily or due
to network glitches.

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

show more ...

a5cedb3e17-Jul-2020 George Keishing <gkeishin@in.ibm.com>

Support boot call point and plugin script for auto reboot function

Changes:
- Add a robot keyword to map to redfish string values if REST
is disabled.
The dictionary {'1': 'RetryA

Support boot call point and plugin script for auto reboot function

Changes:
- Add a robot keyword to map to redfish string values if REST
is disabled.
The dictionary {'1': 'RetryAttempts', '0': 'Disabled'}

Tested:
- Only redfish enabled build.
- Redfish and REST enabled build.

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

show more ...

a053fb3408-Jun-2020 manashsarma <manashsarma@in.ibm.com>

Modify library method and testcase for DMTF usercase

There two objectives with this change:
1.Test case executed python command file
'Redfish-Usecase-Checkers/account_management/account_management.

Modify library method and testcase for DMTF usercase

There two objectives with this change:
1.Test case executed python command file
'Redfish-Usecase-Checkers/account_management/account_management.py';
with unrecognized arguments. This is corrected.
2.When any use case/test case (inside the python command file 'account_management.py')
fails, just failure message comes without any information on failed test cases.
This is fixed now.

Change-Id: Ic99dc5b7a20af631d6459025029b6db5dea305bb
Signed-off-by: Manash Sarma <manashsarma@in.ibm.com>

show more ...

f617c30a23-Jul-2020 Sushil Singh <susilsi7@in.ibm.com>

Automation fix to print apply time

Change-Id: I4172b7ecf34dea01f1987a198dff1385837622b6
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>

42ade54922-Jul-2020 George Keishing <gkeishin@in.ibm.com>

Add decode ignore and debugging trace for code update

UnicodeDecodeError:
'utf-8' codec can't decode byte 0xb5 in position 1: invalid start byte

Changes:
- Add "ignore" decode directive to leav

Add decode ignore and debugging trace for code update

UnicodeDecodeError:
'utf-8' codec can't decode byte 0xb5 in position 1: invalid start byte

Changes:
- Add "ignore" decode directive to leave the character out of
the Unicode result
- Add debug tracing for tar image member files.

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

show more ...

6396bc6d15-Jul-2020 George Keishing <gkeishin@in.ibm.com>

Filter out JsonSchemas, SessionService and # from listed URI

The changes is made to avoid looking up schemas, session objects
and path like /redfish/v1/Managers/bmc#/Oem to avoid GET request
failure

Filter out JsonSchemas, SessionService and # from listed URI

The changes is made to avoid looking up schemas, session objects
and path like /redfish/v1/Managers/bmc#/Oem to avoid GET request
failure or spent time iterating it.

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

show more ...

d5f179e214-Jul-2020 George Keishing <gkeishin@in.ibm.com>

Update IPMI test case

Changes:
- Add code to dynamically load the PowerControl redfish URI.
- Adjust debug log and logging request in library.

Resolves openbmc/openbmc-test-automation#2091

Update IPMI test case

Changes:
- Add code to dynamically load the PowerControl redfish URI.
- Adjust debug log and logging request in library.

Resolves openbmc/openbmc-test-automation#2091

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

show more ...

789c3b4c14-Jul-2020 George Keishing <gkeishin@in.ibm.com>

Add support to dynamically find valid path in redfish using attribute

Changes:
- Function to walk through a given base path to find the path which
holds the attribute.

This changes enable

Add support to dynamically find valid path in redfish using attribute

Changes:
- Function to walk through a given base path to find the path which
holds the attribute.

This changes enabled the test to just provide the base path redfish URI
and the attribute a parent or child holds and returns back the list of
path(s).

Sample Test:
redfish_utils.Get Members URI /redfish/v1/Chassis/ PowerSupplies
redfish_utils.Get Members URI /redfish/v1/Chassis/ PowerControl

would return to the caller in the test as:
['/redfish/v1/Chassis/chassis/Power']
and
['/redfish/v1/Chassis/chassis/Power',
'/redfish/v1/Chassis/motherboard/Power']

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

show more ...

3a6f073813-Jul-2020 George Keishing <gkeishin@in.ibm.com>

Add support to find a list of redfish URL ending with endpoints

Chamges:
- Function to return list of entries ending with /endpoint
For end point "Power":
['/redfish/v1/Cha

Add support to find a list of redfish URL ending with endpoints

Chamges:
- Function to return list of entries ending with /endpoint
For end point "Power":
['/redfish/v1/Chassis/chassis/Power',
'/redfish/v1/Chassis/motherboard/Power']

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

show more ...

1...<<11121314151617181920>>...65