<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 31, 2019 at 4:53 PM Jan Stancek <<a href="mailto:jstancek@redhat.com">jstancek@redhat.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"><br>
----- Original Message -----<br>
> > Above was RHEL7. Do you expect different outcome on RHEL8?<br>
> > I was looking at upstream sources too and it looked similar.<br>
> ><br>
> > Anyway, I don't think this part is an issue, test will skip it<br>
> > because "comm" doesn't match.<br>
> ><br>
> > We can tweak 'ac_btime' condition, but I think the test will remain<br>
> ><br>
> <br>
> How much time of the ac_btime shaking to be tolerated is proper?<br>
<br>
I wanted to go with 1 sec:<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">I'm ok with that. Seems no better way so far.</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
@@ -83,7 +83,7 @@ static int verify_acct(void *acc, int elap_time)<br>
ret = 1;<br>
}<br>
<br>
- if (ACCT_MEMBER(ac_btime) < start_time) {<br>
+ if (ACCT_MEMBER(ac_btime) + 1 < start_time) {<br>
tst_res(TINFO, "ac_btime < %d (%d)", start_time,<br>
ACCT_MEMBER(ac_btime));<br>
ret = 1;<br>
<br>
> <br>
> > race-y in environments with higher steal time:<br>
> ><br>
> <br>
> I'm sorry, what does it mean here?<br>
<br>
I was referring to failed check below. s390 is scarce resource<br>
and when over-committed, sleeps are less consistent.<br>
E.g. sleep(1) taking 2+ seconds:<br>
nanosleep({1, 0}, NULL) = 0 <1.926617><br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">Okay.</div><div class="gmail_default" style="font-size:small"></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> <br>
> <br>
> <br>
> ><br>
> > acct02.c:239: INFO: Verifying using 'struct acct_v3'<br>
> > acct02.c:192: INFO: == entry 1 ==<br>
> > acct02.c:127: INFO: elap_time/clock_ticks >= 2 (236/100: 2.00)<br>
> > acct02.c:192: INFO: == entry 2 ==<br>
> > acct02.c:82: INFO: ac_comm != 'acct02_helper' ('acct02')<br>
> > acct02.c:127: INFO: elap_time/clock_ticks >= 2 (236/100: 2.00)<br>
> > acct02.c:133: INFO: ac_exitcode != 32768 (0)<br>
> > acct02.c:141: INFO: ac_ppid != 43213 (43212)<br>
> > acct02.c:182: FAIL: end of file reached<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>