openbmc-test-automation icon indicating copy to clipboard operation
openbmc-test-automation copied to clipboard

Ipmi.Test Ipmi User.Verify IPMI Root User Password Change teardown truncates long passwords

Open generatz opened this issue 3 years ago • 1 comments

In the test Ipmi.Test Ipmi User.Verify IPMI Root User Password Change teardown the original password is restored by calling Set Default Password For IPMI Root User

Set Default Password For IPMI Root User restores the password with the following code:

    ${result}=  Run External IPMI Standard Command
    ...  user set password ${root_userid} ${OPENBMC_PASSWORD}
    ...  P=${valid_password}

This truncates the password if it is more than 16 characters.

Workaround: Modify above code as follows:

    ${result}=  Run External IPMI Standard Command
    ...  user set password ${root_userid} ${OPENBMC_PASSWORD}
    ...  P=${valid_password} 20

generatz avatar Jul 20 '22 16:07 generatz

@rahulmah Please take a look

gkeishin avatar Nov 24 '22 05:11 gkeishin