Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v5.0-stable
# 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 ...


Revision tags: v4.0-stable
# 42b2e303 03-Nov-2023 kothais <kothais@ami.com>

REDFISH: NoAccess privilege has been removed from Redfish script

Changes:
- NoAccess privilege has been removed completely from the Community stack as per this discussion - https://gerrit.openbmc.or

REDFISH: NoAccess privilege has been removed from Redfish script

Changes:
- NoAccess privilege has been removed completely from the Community stack as per this discussion - https://gerrit.openbmc.org/c/openbmc/bmcweb/+/52365
.
- Removed NoAccess privilege from redfish/account_service/test_ipmi_redfish_user.robot and redfish/account_service/test_ldap_configuration.robot

Tested:
- Ran redfish/account_service/test_ipmi_redfish_user.robot and redfish/account_service/test_ldap_configuration.robot scripts successfully.

Change-Id: Iaa09599650a75ccf1207923fdbf744b6764ce8d9
Signed-off-by: KothaiSrini <kothais@ami.com>

show more ...


# 45102295 28-Mar-2023 ganesanb <ganesanb@ami.com>

Redfish: Max user count was updated for redfish

Changes:
- As per discussion on discord max user count was updated for redfish

Tested:
- Ran All The Scripts Successfully

Change-Id: Ibb941

Redfish: Max user count was updated for redfish

Changes:
- As per discussion on discord max user count was updated for redfish

Tested:
- Ran All The Scripts Successfully

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

show more ...


# 003c25a0 16-Mar-2023 George Keishing <gkeishin@in.ibm.com>

Update test reference documentation link

Changes:
- Find the updated link and update it.

Tested:
- NA

Change-Id: Iac663b61c24b4c17e1400a5601598b906cd533c5
Signed-off-by: George Keishing <

Update test reference documentation link

Changes:
- Find the updated link and update it.

Tested:
- NA

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

show more ...


# 26499145 16-Feb-2023 Nagarjun B <nagarjunb@ami.com>

Modified Hardcoded channel Number as 1 to dynamic.

While Getting user info using "Get User Info" keyword by default
it will return channel numebr 1 user. we have to mention the channel
number to get

Modified Hardcoded channel Number as 1 to dynamic.

While Getting user info using "Get User Info" keyword by default
it will return channel numebr 1 user. we have to mention the channel
number to get the particular channel user info. So for Get User Info
keyword added ${CHANNEL_NUMBER} variable as argument.

And also while getting channel access we are hardcoding the channel
number as 1, there are removed 1 and added ${CHANNEL_NUMBER}.

Tested: Run robot ipmi/test_ipmi_user.robot
Run robot ipmi/test_ipmi_payload.robot
Run robot redfish/account_service/test_ipmi_redfish_user.robot

Change-Id: Id81b59e7880045b74e65195089e38d8653f66d7a
Signed-off-by: Nagarjun B <nagarjunb@ami.com>

show more ...


# 7b7ba223 21-Aug-2022 Rahul Maheshwari <rahulmaheshwari@in.ibm.com>

Added test to set readonly privilege via IPMI and verify using Redfish

Changes:
- Added test to set readonly privilege via IPMI and verify using
Redfish
- Split Update_User_Privileg

Added test to set readonly privilege via IPMI and verify using Redfish

Changes:
- Added test to set readonly privilege via IPMI and verify using
Redfish
- Split Update_User_Privilege_Via_IPMI_And_Verify_Using_Redfish
test in two test cases for operator and readonly users

Tested:
- Ran Update_User_Privilege_To_Readonly_Via_IPMI_And_Verify_Using_Redfish
test from sandbox and it passed

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

show more ...


Revision tags: robotframework-requests
# 132d29a6 29-Jul-2022 nagarjunb <nagarjunb@ami.com>

Added User deletion code in teardown.

Moved code for deletion of created user list to Test Teardown.
so that in case if testcase fail, created user will delete.

Tested: Run robot redfish/account_se

Added User deletion code in teardown.

Moved code for deletion of created user list to Test Teardown.
so that in case if testcase fail, created user will delete.

Tested: Run robot redfish/account_service/test_ipmi_redfish_user.robot

Signed-off-by: Nagarjun B <nagarjunb@ami.com>
Change-Id: Ibc9ab6f30e3182b13d901e7e6d8ab7d75ce5e19c

show more ...


# dc7d6893 07-Jul-2022 George Keishing <gkeishin@in.ibm.com>

Fix IPMI range of Max user allowed in test code

Changes:
- add ipmi max user allowed variable.
- add documentation

Tested:
robot -v OPENBMC_HOST:xx.xx.xx.xx
--include Update

Fix IPMI range of Max user allowed in test code

Changes:
- add ipmi max user allowed variable.
- add documentation

Tested:
robot -v OPENBMC_HOST:xx.xx.xx.xx
--include Update_User_Password_Via_IPMI_And_Verify_Using_Redfish
--include Create_IPMI_User_And_Verify_Login_Via_Redfish
--include Delete_User_Via_IPMI_And_Verify_Using_Redfish
redfish/account_service/test_ipmi_redfish_user.robot

------------------------------------------------------------------------------
Test Ipmi Redfish User :: Test IPMI and Redfish combinations for u... | PASS |
3 tests, 3 passed, 0 failed
==============================================================================

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

show more ...


# 6c88252c 07-Jul-2022 George Keishing <gkeishin@in.ibm.com>

Fix test code documentation for IPMI user accounts

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


# 48d998e9 07-Jul-2022 George Keishing <gkeishin@in.ibm.com>

Update system account redfish MAX users range

Refer: #openbmc/phosphor-user-manager/blob/master/user_mgr.cpp
static constexpr size_t ipmiMaxUserNameLen = 16;
static constexpr size_t systemMaxUserNam

Update system account redfish MAX users range

Refer: #openbmc/phosphor-user-manager/blob/master/user_mgr.cpp
static constexpr size_t ipmiMaxUserNameLen = 16;
static constexpr size_t systemMaxUserNameLen = 30;

Fix the test code accordingly.

Tested:

robot -v OPENBMC_HOST:xx.xx.xx.xx --include Verify_Failure_To_Exceed_Max_Number_Of_Users
redfish/account_service/test_ipmi_redfish_user.robot

Verify Failure To Exceed Max Number Of Users :: Verify failure att... | PASS |
------------------------------------------------------------------------------
Test Ipmi Redfish User :: Test IPMI and Redfish combinations for u... | PASS |
1 test, 1 passed, 0 failed
==============================================================================

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

show more ...


# d4cdc11f 06-May-2022 Gene Ratzlaff <generatz@gmail.com>

Fixed user ID can be blocked

The keyword IPMI Create Random User Plus Password And Privilege
always gave the new user a user ID of 2. This results in a fail
if another user (e.g. root, or other adm

Fixed user ID can be blocked

The keyword IPMI Create Random User Plus Password And Privilege
always gave the new user a user ID of 2. This results in a fail
if another user (e.g. root, or other admin) already occupies
user ID=2.

Instead, keyword Find Free User Id is applied to generate a random
user ID by selecting from those user IDs that are not occupied.
If no user ID is free, the test fails and reports
"A free user ID could not be found."

Signed-off-by: Gene Ratzlaff <generatz@gmail.com>
Change-Id: I60d6332541814f5cc88674ed33bfc57d8e6afe45

show more ...


# dfd48019 06-Apr-2022 Ashwini Chandrappa <Ashwini.Chandrappa777@ibm.com>

Fix for non-root IPMI user delete in redfish account service

Change-Id: I77c550d2c106ac1a514334c3084a4d734bf71e0d
Signed-off-by: Ashwini Chandrappa <Ashwini.Chandrappa777@ibm.com>


# 6fac2890 13-Dec-2021 Ashwini Chandrappa <Ashwini.Chandrappa777@ibm.com>

Changed the maximum number of local user creation to 17 count

Change-Id: If9e3ff87754e4aed1d7625a9a6a4872a5277ae35
Signed-off-by: Ashwini Chandrappa <Ashwini.Chandrappa777@ibm.com>


Revision tags: v2.10-Hardknott
# 97fccae8 27-Jul-2020 Sushma M M <sushmm99@in.ibm.com>

Added waiting time for the tests

Changes:
- Added explicit wait 5s to allow user password to get set

Change-Id: I2242131487a16ad278f4b3ab122ac52a53f0512a
Signed-off-by: Sushma M M <sushmm99@in.i

Added waiting time for the tests

Changes:
- Added explicit wait 5s to allow user password to get set

Change-Id: I2242131487a16ad278f4b3ab122ac52a53f0512a
Signed-off-by: Sushma M M <sushmm99@in.ibm.com>

show more ...


Revision tags: v2.8.0-stable
# c317c984 20-May-2020 Tony Lee <tony.lee@quantatw.com>

Fixed missing parameter when using ipmi user list

-When execute inband command ipmi user list
it will return 'IPMI command failed: Unknown (0x82)'.
Because it missing a parameter <channel number>.
U

Fixed missing parameter when using ipmi user list

-When execute inband command ipmi user list
it will return 'IPMI command failed: Unknown (0x82)'.
Because it missing a parameter <channel number>.
User Commands:
list [<channel number>]

Signed-off-by: Tony Lee <tony.lee@quantatw.com>
Change-Id: Ie5778166b11379f4e9def233628f0caa9b52ec8e

show more ...


# 69ed33e2 20-May-2020 Tony Lee <tony.lee@quantatw.com>

Fixed missing parameter when using ipmi user priv

When execute inband command user priv <user id> <privilege level>
it will return 'IPMI command failed: Unknown (0x82)'
Because it missing a paramete

Fixed missing parameter when using ipmi user priv

When execute inband command user priv <user id> <privilege level>
it will return 'IPMI command failed: Unknown (0x82)'
Because it missing a parameter <channel number>
User Commands:
priv <user id> <privilege level> [<channel number>]
Privilege levels:
* 0x1 - Callback
* 0x2 - User
* 0x3 - Operator
* 0x4 - Administrator
* 0x5 - OEM Proprietary
* 0xF - No Access

Signed-off-by: Tony Lee <tony.lee@quantatw.com>
Change-Id: I11cb0789ffaec27d516be8fb034e7d37c5c3d96a

show more ...


# 4d89465f 12-Feb-2020 Anusha Dathatri <adathatr@in.ibm.com>

Fixed redfish logout failures

Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>
Change-Id: I97879a6c53c2d8c8a6f64477467c5aa4efb44c4c


# 652fc742 05-Feb-2020 Anusha Dathatri <adathatr@in.ibm.com>

Fixed expected error msg from Verify IPMI Username And Password keyword

Change-Id: I5bd7c33b1ae679054c22fa39187218b4fea1f635
Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>


# 9ecaaf42 20-Jan-2020 Anusha Dathatri <adathatr@in.ibm.com>

Create IPMI user without privilege and verify it via Redfish

Change-Id: I901fa847263bcab5674588b3a6669af173ef6733
Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>


Revision tags: v2.7-warrior-stable
# 3e61ce66 18-Jun-2019 Rahul Maheshwari <rahulmaheshwari@in.ibm.com>

Added test to verify error while creating more than max user limit

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


# ff63ac02 29-Mar-2019 Rahul Maheshwari <rahulmaheshwari@in.ibm.com>

Added test to update Redfish user privilege and verify using IPMI

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


# 75e91fea 29-Mar-2019 Rahul Maheshwari <rahulmaheshwari@in.ibm.com>

Added test cases to verify IPMI user via Redfish

Test cases added:
- Create IPMI user and verify login via Redfish.
- Update user password via IPMI and verify using Redfish.
- Update use

Added test cases to verify IPMI user via Redfish

Test cases added:
- Create IPMI user and verify login via Redfish.
- Update user password via IPMI and verify using Redfish.
- Update user privilege via IPMI and verify using Redfish.
- Delete user via IPMI And verify using Redfish.

Change-Id: I29202ee4b66071f0eab0d6bd093fc7e3f38b73de

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

show more ...


# cf2336e0 15-Mar-2019 Rahul Maheshwari <rahulmaheshwari@in.ibm.com>

Added test cases to test Redfish and IPMI user combinations

Test cases added:
- Update user password via Redfish and verify using IPMI
- Delete user via Redfish and verify using IPMI

Change

Added test cases to test Redfish and IPMI user combinations

Test cases added:
- Update user password via Redfish and verify using IPMI
- Delete user via Redfish and verify using IPMI

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

show more ...


# 51dee266 06-Mar-2019 Rahul Maheshwari <rahulmaheshwari@in.ibm.com>

Base framework to test redfish and IPMI user combinations

Test case added:
- Create user using redfish and verify via IPMI

Change-Id: I7db547a75e913d1924c1d3b46eff535ba0a0f784
Signed-off-by: Ra

Base framework to test redfish and IPMI user combinations

Test case added:
- Create user using redfish and verify via IPMI

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

show more ...