openbmc / openbmc-test-automation

Apache License 2.0
104 stars 92 forks source link

testcase 'Security.Test Bmc Expire Password.Expire And Change Root Password Via GUI' Teardown insufficient #2159

Closed generatz closed 2 years ago

generatz commented 2 years ago

In some recent testing on a development BMC, the subject testcase failed. As a result, the last testcase in the suite, Verify New Password Persistency After BMC Reboot, also failed. Modifying the Teardown in the subject testcase as described below eliminated the second fail.

Here are the fails in Expire And Change Root Password Via GUI seen before modifying the Teardown: image

Immediately after above fail, Verify New Password Persistency After BMC Reboot fails in the same run as follows: image (Note that the failure of Verify New Password Persistency After BMC Reboot happens whether or not the intervening testcase Verify Maximum Failed Attempts And Check Root User Account Locked is skipped.)


As a workaround I appended ... AND Test Teardown Execution to the subject test and re-ran. With that change,Verify New Password Persistency After BMC Reboot passes as shown: image

Please remediate the Teardown for Expire And Change Root Password Via GUI as appropriate.

gkeishin commented 2 years ago

@rahulmah Please look into it

gkeishin commented 2 years ago

opps.. may be @prkatti1 @swe12345 needs to look at this expire password for GUI

generatz commented 2 years ago

I just observed that Restore Default Password For Root User now succeeds in Expire And Change Root Password Via GUI when the fail occurs. Consequently, I no longer see a fail in Verify New Password Persistency After BMC Reboot. Closing as fixed.