<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
ok..thanks..</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);">
What do you think about msgstress03, what could have went wrong ?? <br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> xuyang2018.jy@fujitsu.com <xuyang2018.jy@fujitsu.com><br>
<b>Sent:</b> Monday, March 29, 2021 2:56 PM<br>
<b>To:</b> Pankaj Vinodrao Joshi <Pankaj.VJ@exaleapsemi.com><br>
<b>Cc:</b> ltp@lists.linux.it <ltp@lists.linux.it><br>
<b>Subject:</b> Re: [LTP] msgstress03, msgstress04 failure on linux 5.10.19 and 5.10.22</font>
<div> </div>
</div>
<div style="background-color:#ffffff">Hi<br>
<blockquote 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="x_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="x_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="x_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 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>
<fieldset class="x_mimeAttachmentHeader"></fieldset>
</pre>
</blockquote>
<pre>
</pre>
[EXT] </div>
</body>
</html>