<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 Mon, Sep 19, 2022 at 11:27 AM Li Wang <<a href="mailto:liwang@redhat.com">liwang@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"><div dir="ltr"><div dir="ltr"><div style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 19, 2022 at 11:14 AM Petr Vorel <<a href="mailto:pvorel@suse.cz" target="_blank">pvorel@suse.cz</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 all,<br>
<br>
> ## Build<br>
> * kernel: 5.18.19<br>
> * git: <a href="https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc" rel="noreferrer" target="_blank">https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc</a><br>
> * git branch: linux-5.18.y<br>
> * git commit: 22a992953741ad79c07890d3f4104585e52ef26b<br>
> * git describe: cea142b<br>
> * test details: <a href="https://qa-reports.linaro.org/lkft/ltp/build/cea142b" rel="noreferrer" target="_blank">https://qa-reports.linaro.org/lkft/ltp/build/cea142b</a><br>
<br>
> ## Test Regressions (compared to 98140f3)<br>
> * qemu_i386, ltp-controllers<br>
> - cpuacct_100_100<br>
<br>
> * qemu_x86_64, ltp-cve<br>
> - cve-2018-1000204<br>
OK, 3252ea38d ("ioctl_sg01: Add max_runtime") didn't help.<br>
<br>
looking at the log [1] I don't see anything obvious why test timeouts:<br></blockquote><div><br></div><div><div style="font-size:small">tst_pollute_memory() consume time is proportional to the amount of</div><div style="font-size:small">free RAM, it is hard to find one fixed value of max_runtime to fit all test</div><div style="font-size:small">platforms.</div><div style="font-size:small"><br></div><div style="font-size:small">>From my experience, if you limited this test only run with small</div><div style="font-size:small">machine (e.g. RAM <= 32G), that performs well with whatever</div><div style="font-size:small">bare metal or VM, no timeout ever.</div></div></div></div></blockquote><div><br></div><div class="gmail_default" style="font-size:small">Btw, we did that by setting a test filter before LTP running, also we could</div><div class="gmail_default" style="font-size:small">add a field .max_mem_avail to tst_test struct for achieving that, but not</div><div class="gmail_default" style="font-size:small">sure if it's worth doing that at this moment.</div></div><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>