<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10pt" ><div dir="ltr" >Hi Tony,</div>
<div dir="ltr" > </div>
<div dir="ltr" >I have removed the login verification for cases where password is not set. Added you as a reviewer for the code.</div>
<div dir="ltr" ><br><br>Thanks & Regards<br>Anusha Dathatri,<br>Power Firmware,<br>Email: adathatr@in.ibm.com<br>Mobile : 9916920803</div>
<div dir="ltr" > </div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" data-history-expanded="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: Rahul Maheshwari <rahulmaheshwari01@gmail.com><br>To: "Tony Lee (李文富)" <Tony.Lee@quantatw.com><br>Cc: "adathatr@in.ibm.com" <adathatr@in.ibm.com><br>Subject: [EXTERNAL] Re: Question about IPMI password MAX length test in openbmc-test-automation<br>Date: Tue, Jan 7, 2020 12:36 PM<br>
<div dir="ltr" >oops .. I meat to say option 1 is better. Typo mistake from my side.
<div> </div></div>
<div><div dir="ltr" >On Tue, Jan 7, 2020 at 12:19 PM Tony Lee (李文富) <<a href="mailto:Tony.Lee@quantatw.com" target="_blank" >Tony.Lee@quantatw.com</a>> wrote:</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" ><div lang="ZH-TW" ><div><p style="margin: 0px;" ><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US" >Hi Rahul,</span></p>
<p style="margin: 0px;" ><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US" > </span></p>
<p style="margin:0cm 0cm 0.0001pt" ><span style="font-family:"Times New Roman",serif;color:black;background:white" lang="EN-US" >Thank you for your reply.</span></p>
<p style="margin:0cm 0cm 0.0001pt" ><span style="font-family:"Times New Roman",serif;color:black;background:white" lang="EN-US" >I'm confused, you said that option 2 is better but the additional explanation is about option 1.</span></p>
<p style="margin: 0px;" ><span style="font-family:Calibri,sans-serif" lang="EN-US" > </span></p>
<p style="margin: 0px;" ><span style="font-family:Calibri,sans-serif" lang="EN-US" >Thanks</span></p>
<p style="margin: 0px;" ><span style="font-family:Calibri,sans-serif" lang="EN-US" >Best Regards,</span></p>
<p style="margin: 0px;" ><span style="font-family:Calibri,sans-serif" lang="EN-US" >Tony</span></p>
<p style="margin: 0px;" ><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)" lang="EN-US" > </span></p>
<div><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm" ><p style="margin: 0px;" ><b><span style="font-size:11pt;font-family:Calibri,sans-serif" lang="EN-US" >From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif" lang="EN-US" > Rahul Maheshwari <<a href="mailto:rahulmaheshwari01@gmail.com" target="_blank" >rahulmaheshwari01@gmail.com</a>><br><b>Sent:</b> Tuesday, January 7, 2020 1:45 PM<br><b>To:</b> Tony Lee (</span><span style="font-size:11pt" >李文富</span><span style="font-size:11pt;font-family:Calibri,sans-serif" lang="EN-US" >) <<a href="mailto:Tony.Lee@quantatw.com" target="_blank" >Tony.Lee@quantatw.com</a>><br><b>Cc:</b> <a href="mailto:adathatr@in.ibm.com" target="_blank" >adathatr@in.ibm.com</a>; <a href="mailto:openbmc@lists.ozlabs.org" target="_blank" >openbmc@lists.ozlabs.org</a><br><b>Subject:</b> Re: Question about IPMI password MAX length test in openbmc-test-automation</span></p></div></div>
<p style="margin: 0px;" ><span lang="EN-US" > </span></p>
<div><p style="margin: 0px;" ><span lang="EN-US" >Hi Tony,</span></p>
<div><p style="margin: 0px;" ><span lang="EN-US" >I would say option 2 is better. There is no need to verify IPMI command execution when set user password is expected to fail.</span></p></div>
<div><p style="margin: 0px;" ><span lang="EN-US" > </span></p></div>
<div><p style="margin: 0px;" ><span lang="EN-US" >Thanks</span></p></div>
<div><p style="margin: 0px;" ><span lang="EN-US" >Rahul</span></p></div></div>
<p style="margin: 0px;" ><span lang="EN-US" > </span></p>
<div><p style="margin: 0px;" ><span lang="EN-US" >On Mon, Jan 6, 2020 at 3:06 PM Tony Lee (</span>李文富<span lang="EN-US" >) <<a href="mailto:Tony.Lee@quantatw.com" target="_blank" >Tony.Lee@quantatw.com</a>> wrote:</span></p></div>
<p style="margin: 0px;" ><span lang="EN-US" >Hi Anusha,<br><br>I met an issue that "Verify Setting IPMI User With Invalid Password Length" will fail when<br>its user id is same as "Verify Setting IPMI User With Max Password Length".<br><br>This is because the password length 20 has been successfully set in "Verify Setting IPMI User With Max Password Length".<br>Therefore, the case of password_length = 21 and password_option = 20 is expected to fail but pass when their user id are the same.<br><br>I have two solutions:<br><br>1. Only verify the message that cannot use invalid password length to set password<br>and do not verify that user is able to run IPMI command with given username and password in this case.<br><br>2. At the end of each case, delete the user it just created to ensure that it will not affect other cases.<br><br>Which is better, or do you have other suggestions?<br><br>Thanks<br>Best Regards,<br>Tony</span></p></div></div></blockquote></div></blockquote>
<div dir="ltr" > </div></div><BR>