<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi<br>
<blockquote cite="mid:BMXPR01MB287023E7E5B34F6D27B63564EE7E9@BMXPR01MB2870.INDPRD01.PROD.OUTLOOK.COM" type="cite">
<style type="text/css" style="display: none;"> P {margin-top:0;margin-bottom:0;} </style>
<div style="font-family: Calibri,Arial,Helvetica,sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri,Arial,Helvetica,sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
I am running msgstress03,msgstress04 with 5.10.19 and 5.10.22 custom kernel built using Yocto but both test are getting failed repeatedly. i am not able to understand what making both test to fail since these tests are stress tests for message queue want to
figure if anything going wrong with message queue.</div>
<div style="font-family: Calibri,Arial,Helvetica,sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri,Arial,Helvetica,sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Pasting few error message and attaching detailed logs of failures<br>
</div>
<div style="font-family: Calibri,Arial,Helvetica,sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri,Arial,Helvetica,sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<b>msgstress03:-</b><br>
</div>
<div style="font-family: Calibri,Arial,Helvetica,sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
msgsnd() error in child 9458, write # = 10000, key = 65e2d9c4: Interrupted system call
<div>msgstress03 1 TBROK : tst_sig.c:232: unexpected signal SIGINT(2) received (pid = 43902).</div>
<div>msgstress03 2 TBROK : tst_sig.c:232: Remaining cases broken</div>
<div>msgstress03 1 TBROK : tst_sig.c:232: unexpected signal SIGINT(2) received (pid = 43925).</div>
<div>msgstress03 2 TBROK : tst_sig.c:232: Remaining cases broken</div>
<div>msgstress03 0 TWARN : tst_tmpdir.c:336: tst_rmdir: rmobj(/tmp/ltp-9Raz9tykpq/msgQaAD8i) failed: Cannot open directory /tmp/ltp-9Raz9tykpq/msgQaAD8i; errno=2: ENOENT</div>
<div>msgstress03 1 TBROK : tst_sig.c:232: unexpected signal SIGINT(2) received (pid = 43927).</div>
<div>msgstress03 2 TBROK : tst_sig.c:232: Remaining cases broken</div>
<div>msgstress03 0 TWARN : tst_tmpdir.c:336: tst_rmdir: rmobj(/tmp/ltp-9Raz9tykpq/msgQaAD8i) failed: Cannot open directory /tmp/ltp-9Raz9tykpq/msgQaAD8i; errno=2: ENOENT</div>
<div>msgsnd() error in child 9468, write # = 10000, key = 5364a4ac: Interrupted system call</div>
<div>msgstress03 1 TBROK : tst_sig.c:232: unexpected signal SIGINT(2) received (pid = 43918).</div>
<div>msgstress03 2 TBROK : tst_sig.c:232: Remaining cases broken</div>
<div>msgstress03 0 TWARN : tst_tmpdir.c:336: tst_rmdir: rmobj(/tmp/ltp-9Raz9tykpq/msgQaAD8i) failed: unlink(/tmp/ltp-9Raz9tykpq/msgQaAD8i) failed; errno=2: ENOENT</div>
<div>msgsnd() error in child 9450, write # = 10000, key = 6015ef48: Interrupted system call</div>
<div>msgstress03 1 TBROK : tst_sig.c:232: unexpected signal SIGINT(2) received (pid = 43883).</div>
<div>msgstress03 2 TBROK : tst_sig.c:232: Remaining cases broken</div>
<div>msgstress03 0 TWARN : tst_tmpdir.c:336: tst_rmdir: rmobj(/tmp/ltp-9Raz9tykpq/msgQaAD8i) failed: unlink(/tmp/ltp-9Raz9tykpq/msgQaAD8i) failed; errno=2: ENOENT</div>
<div>msgstress03 1 TBROK : tst_sig.c:232: unexpected signal SIGINT(2) received (pid = 43924).</div>
<div>msgstress03 2 TBROK : tst_sig.c:232: Remaining cases broken</div>
<div>msgstress03 0 TWARN : tst_tmpdir.c:336: tst_rmdir: rmobj(/tmp/ltp-9Raz9tykpq/msgQaAD8i) failed: unlink(/tmp/ltp-9Raz9tykpq/msgQaAD8i) failed; errno=2: ENOENT</div>
msgsnd() error in child 9454, write # = 10000, key = 37efb13a: Interrupted system call</div>
<div style="font-family: Calibri,Arial,Helvetica,sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri,Arial,Helvetica,sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<b>msgstress04:-</b></div>
<div style="font-family: Calibri,Arial,Helvetica,sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
msgstress04 0 TINFO : Found 31994 available message queues
<div>msgstress04 0 TINFO : Using upto 2097104 pids</div>
<div>Fork failure in the second child of child group 9218</div>
</div>
</blockquote>
For msgstress04, It is a known issue[1]. the fork fail reason see[2].<br>
I have sent a patchset[3] to cleanup these msgstress case recently and then I will add a process num limit according to avaiable memory.<br>
<br>
[1]<a class="moz-txt-link-freetext" href="https://github.com/linux-test-project/ltp/issues/509">https://github.com/linux-test-project/ltp/issues/509</a><br>
[2]<a class="moz-txt-link-freetext" href="http://lists.linux.it/pipermail/ltp/2020-June/017619.html">http://lists.linux.it/pipermail/ltp/2020-June/017619.html</a><br>
[3]<a class="moz-txt-link-freetext" href="https://patchwork.ozlabs.org/project/ltp/patch/1615550541-21714-1-git-send-email-xuyang2018.jy@cn.fujitsu.com/">https://patchwork.ozlabs.org/project/ltp/patch/1615550541-21714-1-git-send-email-xuyang2018.jy@cn.fujitsu.com/</a><br>
<blockquote cite="mid:BMXPR01MB287023E7E5B34F6D27B63564EE7E9@BMXPR01MB2870.INDPRD01.PROD.OUTLOOK.COM" type="cite">
<div style="font-family: Calibri,Arial,Helvetica,sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<div>Fork failure in the first child of child group 9198</div>
<div>Fork failure in the first child of child group 9216</div>
<div>Fork failure in the first child of child group 9208</div>
<div>Fork failure in the first child of child group 9250</div>
<div>Fork failure in the second child of child group 9249</div>
<div>Fork failure in the first child of child group 9230</div>
<div>Fork failure in the first child of child group 9233</div>
<div>Fork failure in the first child of child group 9247</div>
<div>Fork failure in the first child of child group 9254</div>
<div>Fork failure in the second child of child group 9228</div>
<div>Fork failure in the second child of child group 9253</div>
<div>Fork failure in the first child of child group 9242</div>
<div>Fork failure in the second child of child group 9246</div>
<div>Fork failure in the first child of child group 9243</div>
<div>Fork failure in the second child of child group 9240</div>
<div>Fork failure in the second child of child group 9238</div>
<div>Fork failure in the first child of child group 9252</div>
<div>msgstress04 1 TFAIL : msgstress04.c:204: Fork failed (may be OK if under stress)</div>
Fork failure in the second child of child group 9234</div>
<div style="font-family: Calibri,Arial,Helvetica,sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri,Arial,Helvetica,sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Kindly help to get the failure resolved.</div>
<div style="font-family: Calibri,Arial,Helvetica,sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri,Arial,Helvetica,sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Thanks<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
</pre>
</blockquote>
<pre>
</pre>
</body>
</html>