Hi, <div id="yMail_cursorElementTracker_1496042386913"><br></div><div id="yMail_cursorElementTracker_1496042387790">Ping :-)</div><div id="yMail_cursorElementTracker_1496042396329"><br></div><div id="yMail_cursorElementTracker_1496042397415">It still sometimes failed even with the latest LTP version. Sometimes it mismatched in memory.memsw.max_usage_in_bytes, sometimes in memory.max_usage_in_bytes.</div><div id="yMail_cursorElementTracker_1496042438112"><br></div><div id="yMail_cursorElementTracker_1496042446562">20170516-22-gf36b3a8<br id="yMail_cursorElementTracker_1496042381041"><br><div id="ymail_android_signature">Thanks an regards,</div><div id="yMail_cursorElementTracker_1496042488009"><br></div><div id="yMail_cursorElementTracker_1496042488748">Hoang.</div> <br> <blockquote style="margin: 0 0 20px 0;"> <header style="font-family:Roboto, sans-serif; color:#6D00F6;"> <div>On Wed, Mar 29, 2017 at 8:06, Hoang Nguyen</div><div><the_hoang0709@yahoo.com> wrote:</div> </header> <div style="padding: 10px 0 0 20px; margin: 10px 0 0 0; border-left: 1px solid #6D00F6;"> <div id="yiv4036565864"><div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div id="yiv4036565864yui_3_16_0_1_1490748216282_7813"><span>Hi Cyril,</span></div><div id="yiv4036565864yui_3_16_0_1_1490748216282_7812"><span><br clear="none"></span></div><div dir="ltr" id="yiv4036565864yui_3_16_0_1_1490748216282_7793">memcg_usage_in_bytes_test.sh is not changed for long time, so I think I almost used the latest version of LTP</div><div dir="ltr" id="yiv4036565864yui_3_16_0_1_1490748216282_7793"><br clear="none"></div><div dir="ltr" id="yiv4036565864yui_3_16_0_1_1490748216282_7793">I resend the log, some EOL issue when I send it with my phone. Sorry for inconvenience.</div><div dir="ltr" id="yiv4036565864yui_3_16_0_1_1490748216282_7793"><br clear="none"></div><div dir="ltr" id="yiv4036565864yui_3_16_0_1_1490748216282_7891" style="margin:0in;font-family:Calibri;font-size:11.0pt;">Test:
memcg_usage_in_bytes Testparm:
memcg_usage_in_bytes_test.sh<br clear="none" id="yiv4036565864yui_3_16_0_1_1490748216282_7892">
memcg_usage_in_bytes_test 1 TINFO: Starting test
1<br clear="none" id="yiv4036565864yui_3_16_0_1_1490748216282_7893">
memcg_usage_in_bytes_test 1 TINFO: Running memcg_process --mmap-anon -s
4194304<br clear="none" id="yiv4036565864yui_3_16_0_1_1490748216282_7894">
memcg_usage_in_bytes_test 1 TINFO: Warming up pid:
886<br clear="none" id="yiv4036565864yui_3_16_0_1_1490748216282_7895">
memcg_usage_in_bytes_test 1 TINFO: Process is still here after warm up:
886<br clear="none" id="yiv4036565864yui_3_16_0_1_1490748216282_7896">
memcg_usage_in_bytes_test 1 TPASS: memory.usage_in_bytes is 4194304 as
expected<br clear="none" id="yiv4036565864yui_3_16_0_1_1490748216282_7897">
/opt/ltp/testcases/bin/memcg_lib.sh: line 477: echo: write error: Device or
resource busy<br clear="none" id="yiv4036565864yui_3_16_0_1_1490748216282_7898">
memcg_usage_in_bytes_test 2 TINFO: restore
/dev/memcg/memory.use_hierarchy failed<br clear="none" id="yiv4036565864yui_3_16_0_1_1490748216282_7899">
memcg_usage_in_bytes_test 2 TINFO: Starting test
2<br clear="none" id="yiv4036565864yui_3_16_0_1_1490748216282_7900">
memcg_usage_in_bytes_test 2 TINFO: Running memcg_process --mmap-anon -s
4194304<br clear="none" id="yiv4036565864yui_3_16_0_1_1490748216282_7901">
memcg_usage_in_bytes_test 2 TINFO: Warming up pid:
906<br clear="none" id="yiv4036565864yui_3_16_0_1_1490748216282_7902">
memcg_usage_in_bytes_test 2 TINFO: Process is still here after warm up:
906<br clear="none" id="yiv4036565864yui_3_16_0_1_1490748216282_7903">
memcg_usage_in_bytes_test 2 TFAIL: memory.memsw.usage_in_bytes is 4325376, 4194304
expected<br clear="none" id="yiv4036565864yui_3_16_0_1_1490748216282_7904">
Result: 1</div><div class="yiv4036565864qtdSeparateBR" id="yiv4036565864yui_3_16_0_1_1490748216282_7792"><br clear="none"></div><div class="yiv4036565864qtdSeparateBR" id="yiv4036565864yui_3_16_0_1_1490748216282_7792">Best regards,</div><div class="yiv4036565864qtdSeparateBR" id="yiv4036565864yui_3_16_0_1_1490748216282_7792"><br clear="none"></div><div class="yiv4036565864qtdSeparateBR" id="yiv4036565864yui_3_16_0_1_1490748216282_7792">Hoang<br clear="none"><br clear="none"></div><div class="yiv4036565864yqt4827459055 yQTDBase" id="yiv4036565864yqt94611"><div class="yiv4036565864yahoo_quoted" id="yiv4036565864yui_3_16_0_1_1490748216282_7760" style="display:block;"> <div id="yiv4036565864yui_3_16_0_1_1490748216282_7759" style="font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div id="yiv4036565864yui_3_16_0_1_1490748216282_7758" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;"> <div dir="ltr" id="yiv4036565864yui_3_16_0_1_1490748216282_7791"> <font id="yiv4036565864yui_3_16_0_1_1490748216282_7790" size="2" face="Arial"> </font><hr id="yiv4036565864yui_3_16_0_1_1490748216282_7846" size="1"> <b><span style="font-weight:bold;">From:</span></b> Cyril Hrubis <chrubis@suse.cz><br clear="none"> <b><span style="font-weight:bold;">To:</span></b> Hoang Nguyen <the_hoang0709@yahoo.com> <br clear="none"><b><span style="font-weight:bold;">Cc:</span></b> LTP List <ltp@lists.linux.it><br clear="none"> <b><span style="font-weight:bold;">Sent:</span></b> Tuesday, 28 March 2017, 20:44<br clear="none"> <b><span style="font-weight:bold;">Subject:</span></b> Re: [LTP] memcg_usage_in_bytes sometimes failed<br clear="none"> </div> <div class="yiv4036565864y_msg_container" id="yiv4036565864yui_3_16_0_1_1490748216282_7757"><br clear="none"><div class="yiv4036565864yqt0332252370" id="yiv4036565864yqtfd54848">Hi!<br clear="none">> I rarely meet this issue on embedded system, armv7l kernel 3.14, but not sure what's going wrong. It can pass on some boards, but fail sometimes on others with same config.<br clear="none">> Is there any aditional preparation to make this case always pass? Have anyone experienced on this ?<br clear="none">> Test: memcg_usage_in_bytes Testparm: memcg_usage_in_bytes_test.shmemcg_usage_in_bytes_test 1 TINFO: Starting test 1memcg_usage_in_bytes_test 1 TINFO: Running memcg_process --mmap-anon -s 4194304memcg_usage_in_bytes_test 1 TINFO: Warming up pid: 886memcg_usage_in_bytes_test 1 TINFO: Process is still here after warm up: 886memcg_usage_in_bytes_test 1 TPASS: memory.usage_in_bytes is 4194304 as expected/opt/ltp/testcases/bin/memcg_lib.sh: line 477: echo: write error: Device or resource busymemcg_usage_in_bytes_test 2 TINFO: restore ??/dev/memcg/memory.use_hierarchy failedmemcg_usage_in_bytes_test 2 TINFO: Starting test 2memcg_usage_in_bytes_test 2 TINFO: Running memcg_process --mmap-anon -s 4194304memcg_usage_in_bytes_test 2 TINFO: Warming up pid: 906memcg_usage_in_bytes_test 2 TINFO: Process is still here after warm up: 906memcg_usage_in_bytes_test 2 TFAIL: memory.memsw.usage_in_bytes is 4325376, 4194304 expectedResult: 1</div><br clear="none"><br clear="none">First of all, which LTP version are you using?<br clear="none"><br clear="none">Also please resend the log so that the text is not on a single line.<br clear="none">It's nearly impossible to read it as it is.<br clear="none"><br clear="none">-- <br clear="none">Cyril Hrubis<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:chrubis@suse.cz" target="_blank" href="mailto:chrubis@suse.cz">chrubis@suse.cz</a><div class="yiv4036565864yqt0332252370" id="yiv4036565864yqtfd52123"><br clear="none"></div><br clear="none"><br clear="none"></div> </div> </div> </div></div></div></div></div> </div> </blockquote></div>