<div dir="ltr">Your solution sound good to me. You can push the code for the same.<div><br></div><div>Thanks</div><div>Rahul</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 5, 2019 at 6:01 PM Tony Lee (李文富) <<a href="mailto:Tony.Lee@quantatw.com">Tony.Lee@quantatw.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Rahul,<br>
<br>
Got it, it seems I can only skip it first.<br>
There is another question about test_ipmi_user.robot.<br>
Cases which creating a new user success, and then execute a external ipmi command with<br>
this new user account will fail on our system. For example, test case "Verify Setting Valid Password For IPMI User".<br>
The key is that the default channel in the Keyword "Set Channel Access" is 1.<br>
"eth0" corresponding to channel 1 is used for debug purposes, and<br>
"eth1" corresponding to channel 2 is used for ipmi remote access in our system.<br>
So once I set the default channel to 2 in the Keyword "Set Channel Access", those cases succeed.<br>
<br>
I have a solution: add variable ${CHANNEL} default is 1 in lib/resource.robot.<br>
Then, let ${channel}=${CHANNEL} in Keyword "Set Channel Access".<br>
Let user to specify channel while running, if not, the default is 1.<br>
<br>
Example: robot -v OPENBMC_HOST:x.x.x.x -v CHANNEL:2 ipmi/test_ipmi_user.robot<br>
<br>
Is this approach sounds fine to you or there are other suggestions?<br>
<br>
Thanks<br>
Tony<br>
<br>
From: Rahul Maheshwari <<a href="mailto:rahulmaheshwari01@gmail.com" target="_blank">rahulmaheshwari01@gmail.com</a>> <br>
Sent: Thursday, December 5, 2019 5:47 PM<br>
To: Tony Lee (李文富) <<a href="mailto:Tony.Lee@quantatw.com" target="_blank">Tony.Lee@quantatw.com</a>><br>
Cc: <a href="mailto:openbmc@lists.ozlabs.org" target="_blank">openbmc@lists.ozlabs.org</a><br>
Subject: Re: Test Case "Verify IPMI Root User Password Change" in openbmc-test-automation<br>
<br>
Hi Tony,<br>
We have also faced the same problem. So to avoid such problems, we decided to set BMC password to 8 characters length before running our bucket. As far as skipping such test case, we can do that by using `-e Verify_IPMI_Root_User_Password_Change` while running.<br>
<br>
Example:<br>
robot -v OPENBMC_HOST:x.x.x.x -e Verify_IPMI_Root_User_Password_Change ipmi/test_ipmi_user.robot<br>
<br>
Thanks<br>
Rahul<br>
<br>
On Thu, Dec 5, 2019 at 8:05 AM Tony Lee (李文富) <mailto:<a href="mailto:Tony.Lee@quantatw.com" target="_blank">Tony.Lee@quantatw.com</a>> wrote:<br>
Hi Rahul,<br>
<br>
Reference to <a href="https://github.com/openbmc/openbmc-test-automation/issues/1920" rel="noreferrer" target="_blank">https://github.com/openbmc/openbmc-test-automation/issues/1920</a>.<br>
<br>
Case "Verify IPMI Root User Password Change" will change root user password and<br>
unable to reset default password due to the length is limited to 8.<br>
As a result, cases will also fail after this because the password has been changed to 0penBmc1.<br>
Should we remove this test case? There seems to be no other way to fix it.<br>
<br>
Thanks<br>
Best Regards,<br>
Tony<br>
<br>
</blockquote></div>