<div dir="ltr"><div>On Fri, Apr 26, 2024 at 5:54 AM Zbigniew Kempczyński <<a href="mailto:zbigniew.kempczynski@intel.com">zbigniew.kempczynski@intel.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Apr 11, 2024 at 09:41:11PM +0200, Peter Senna Tschudin wrote:<br>
> Dear list,<br>
> <br>
> After my change*, most of the subtests from gem_exec_capture work, but<br>
> only if called one by one using --run-subtest. Here is an example:<br>
<br>
<cut><br>
<br>
Unfortunately this is related to IGTs construction. I mean if one<br>
subtest will allocate the memory and due some reason it won't free it<br>
then next subtest doesn't start from scratch, but from some changed<br>
state. Subtests which fail mostly left drm fd in some state which<br>
might affect next subtests. We're using igt_runner to separate subtests<br>
execution and make sure each runs in own process. I'm not saying subtests<br>
shouldn't run fluently one by one, but in CI we won't rely on that.<br></blockquote><div><br></div><div>Thank you! I had this idea that there was some leftover in memory, but I failed to find it. I tried Valgrind, but it did not help much...</div><div><br></div><div>I created an issue, and I took the liberty to copy your comment there.</div><div><br></div><div>The issue is here: <a href="https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/154">https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/154</a></div><div><br></div><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>
--<br>
Zbigniew<br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"> Peter</div></div></div>