openbmc / openbmc-test-automation

Apache License 2.0
100 stars 92 forks source link

Ipmi.Test Ipmi User.Verify IPMI Root User Password Change: assumes root is user 1 #2150

Closed generatz closed 2 years ago

generatz commented 2 years ago

This test attempts to set the root password assuming that the root UID is always 1, which is not the case. Here is an example from a log file: KEYWORD ipmi_client . Run IPMI Standard Command user set password ${root_userid} ${valid_password} . . . TRACE Arguments: [ ${command}='user set password 1 0penBmc1' | ${fail_on_err}=1 | ${expected_rc}=0 | &{options}={} ]

The test ought to first determine what the root UID is before setting it.

gkeishin commented 2 years ago

@AshwiniC777 can u look into it.. Thanks

gkeishin commented 2 years ago

https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-test-automation/+/52675