All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP]  memcg_usage_in_bytes sometimes failed
       [not found] <260795063.109541.1490150682697.ref@mail.yahoo.com>
@ 2017-03-22  2:44 ` Hoang Nguyen
  2017-03-28 13:41   ` Cyril Hrubis
  0 siblings, 1 reply; 4+ messages in thread
From: Hoang Nguyen @ 2017-03-22  2:44 UTC (permalink / raw)
  To: ltp

Hi all, 
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.
Is there any aditional preparation to make this case always pass? Have anyone experienced on this ?
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

Thanks and regards 
Hoang


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20170322/7180ff00/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [LTP] memcg_usage_in_bytes sometimes failed
  2017-03-22  2:44 ` [LTP] memcg_usage_in_bytes sometimes failed Hoang Nguyen
@ 2017-03-28 13:41   ` Cyril Hrubis
  2017-03-29  1:06     ` Hoang Nguyen
  0 siblings, 1 reply; 4+ messages in thread
From: Cyril Hrubis @ 2017-03-28 13:41 UTC (permalink / raw)
  To: ltp

Hi!
> 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.
> Is there any aditional preparation to make this case always pass? Have anyone experienced on this ?
> 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

First of all, which LTP version are you using?

Also please resend the log so that the text is not on a single line.
It's nearly impossible to read it as it is.

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [LTP] memcg_usage_in_bytes sometimes failed
  2017-03-28 13:41   ` Cyril Hrubis
@ 2017-03-29  1:06     ` Hoang Nguyen
  2017-05-29  7:29       ` Hoang Nguyen
  0 siblings, 1 reply; 4+ messages in thread
From: Hoang Nguyen @ 2017-03-29  1:06 UTC (permalink / raw)
  To: ltp

Hi Cyril,
memcg_usage_in_bytes_test.sh is not changed for long time, so I think I almost used the latest version of LTP
I resend the log, some EOL issue when I send it with my phone. Sorry for inconvenience.
Test:memcg_usage_in_bytes Testparm:memcg_usage_in_bytes_test.sh
memcg_usage_in_bytes_test 1 TINFO: Starting test1
memcg_usage_in_bytes_test 1 TINFO: Running memcg_process --mmap-anon -s4194304
memcg_usage_in_bytes_test 1 TINFO: Warming up pid:886
memcg_usage_in_bytes_test 1 TINFO: Process is still here after warm up:886
memcg_usage_in_bytes_test 1 TPASS: memory.usage_in_bytes is 4194304 asexpected
/opt/ltp/testcases/bin/memcg_lib.sh: line 477: echo: write error: Device orresource busy
memcg_usage_in_bytes_test 2 TINFO: restore /dev/memcg/memory.use_hierarchy failed
memcg_usage_in_bytes_test 2 TINFO: Starting test2
memcg_usage_in_bytes_test 2 TINFO: Running memcg_process --mmap-anon -s4194304
memcg_usage_in_bytes_test 2 TINFO: Warming up pid:906
memcg_usage_in_bytes_test 2 TINFO: Process is still here after warm up:906
memcg_usage_in_bytes_test 2 TFAIL: memory.memsw.usage_in_bytes is 4325376, 4194304expected
Result: 1
Best regards,
Hoang

      From: Cyril Hrubis <chrubis@suse.cz>
 To: Hoang Nguyen <the_hoang0709@yahoo.com> 
Cc: LTP List <ltp@lists.linux.it>
 Sent: Tuesday, 28 March 2017, 20:44
 Subject: Re: [LTP] memcg_usage_in_bytes sometimes failed
   
Hi!
> 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.
> Is there any aditional preparation to make this case always pass? Have anyone experienced on this ?
> 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

First of all, which LTP version are you using?

Also please resend the log so that the text is not on a single line.
It's nearly impossible to read it as it is.

-- 
Cyril Hrubis
chrubis@suse.cz


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20170329/8ef3a1a3/attachment-0001.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [LTP] memcg_usage_in_bytes sometimes failed
  2017-03-29  1:06     ` Hoang Nguyen
@ 2017-05-29  7:29       ` Hoang Nguyen
  0 siblings, 0 replies; 4+ messages in thread
From: Hoang Nguyen @ 2017-05-29  7:29 UTC (permalink / raw)
  To: ltp

Hi, 
Ping :-)
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.
20170516-22-gf36b3a8

Thanks an regards,
Hoang. 
 
  On Wed, Mar 29, 2017 at 8:06, Hoang Nguyen<the_hoang0709@yahoo.com> wrote:   Hi Cyril,
memcg_usage_in_bytes_test.sh is not changed for long time, so I think I almost used the latest version of LTP
I resend the log, some EOL issue when I send it with my phone. Sorry for inconvenience.
Test:memcg_usage_in_bytes Testparm:memcg_usage_in_bytes_test.sh
memcg_usage_in_bytes_test 1 TINFO: Starting test1
memcg_usage_in_bytes_test 1 TINFO: Running memcg_process --mmap-anon -s4194304
memcg_usage_in_bytes_test 1 TINFO: Warming up pid:886
memcg_usage_in_bytes_test 1 TINFO: Process is still here after warm up:886
memcg_usage_in_bytes_test 1 TPASS: memory.usage_in_bytes is 4194304 asexpected
/opt/ltp/testcases/bin/memcg_lib.sh: line 477: echo: write error: Device orresource busy
memcg_usage_in_bytes_test 2 TINFO: restore /dev/memcg/memory.use_hierarchy failed
memcg_usage_in_bytes_test 2 TINFO: Starting test2
memcg_usage_in_bytes_test 2 TINFO: Running memcg_process --mmap-anon -s4194304
memcg_usage_in_bytes_test 2 TINFO: Warming up pid:906
memcg_usage_in_bytes_test 2 TINFO: Process is still here after warm up:906
memcg_usage_in_bytes_test 2 TFAIL: memory.memsw.usage_in_bytes is 4325376, 4194304expected
Result: 1
Best regards,
Hoang

      From: Cyril Hrubis <chrubis@suse.cz>
 To: Hoang Nguyen <the_hoang0709@yahoo.com> 
Cc: LTP List <ltp@lists.linux.it>
 Sent: Tuesday, 28 March 2017, 20:44
 Subject: Re: [LTP] memcg_usage_in_bytes sometimes failed
  
Hi!
> 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.
> Is there any aditional preparation to make this case always pass? Have anyone experienced on this ?
> 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

First of all, which LTP version are you using?

Also please resend the log so that the text is not on a single line.
It's nearly impossible to read it as it is.

-- 
Cyril Hrubis
chrubis@suse.cz


     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20170529/16b66a39/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-29  7:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <260795063.109541.1490150682697.ref@mail.yahoo.com>
2017-03-22  2:44 ` [LTP] memcg_usage_in_bytes sometimes failed Hoang Nguyen
2017-03-28 13:41   ` Cyril Hrubis
2017-03-29  1:06     ` Hoang Nguyen
2017-05-29  7:29       ` Hoang Nguyen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.