From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [mm] 8c7829b04c: ltp.overcommit_memory01.fail
Date: Mon, 20 May 2019 06:04:46 -0400 (EDT) [thread overview]
Message-ID: <875220079.23570847.1558346686738.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20190520032018.GW31424@shao2-debian>
----- Original Message -----
> FYI, we noticed the following commit (built with gcc-7):
>
> commit: 8c7829b04c523cdc732cb77f59f03320e09f3386 ("mm: fix false-positive
> OVERCOMMIT_GUESS failures")
This matches report from Naresh:
http://lists.linux.it/pipermail/ltp/2019-May/011962.html
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
>
> in testcase: ltp
> with following parameters:
>
> disk: 1HDD
> test: mm-01
>
> test-description: The LTP testsuite contains a collection of tools for
> testing the Linux kernel and related features.
> test-url: http://linux-test-project.github.io/
>
>
> on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
>
> caused below changes (please refer to attached dmesg/kmsg for entire
> log/backtrace):
>
>
> If you fix the issue, kindly add following tag
> Reported-by: kernel test robot <rong.a.chen@intel.com>
>
>
> [ 554.112267 ] <<<test_start>>>
> [ 554.112269 ]
> [ 554.115806 ] tag=overcommit_memory01 stime=1558074982
> [ 554.115809 ]
> [ 554.119303 ] cmdline="overcommit_memory"
> [ 554.119306 ]
> [ 554.121962 ] contacts=""
> [ 554.121965 ]
> [ 554.124459 ] analysis=exit
> [ 554.124463 ]
> [ 554.127140 ] <<<test_output>>>
> [ 554.127144 ]
> [ 554.131401 ] tst_test.c:1096: INFO: Timeout per run is 0h 05m 00s
> [ 554.131404 ]
> [ 554.136248 ] overcommit_memory.c:117: INFO: MemTotal is 4033124 kB
> [ 554.136251 ]
> [ 554.141365 ] overcommit_memory.c:119: INFO: SwapTotal is 268435452 kB
> [ 554.141368 ]
> [ 554.146664 ] overcommit_memory.c:123: INFO: CommitLimit is 270452012 kB
> [ 554.146666 ]
> [ 554.151375 ] mem.c:814: INFO: set overcommit_ratio to 50
> [ 554.151378 ]
> [ 554.155796 ] mem.c:814: INFO: set overcommit_memory to 2
> [ 554.155799 ]
> [ 554.159951 ] overcommit_memory.c:190: INFO: malloc 538608648 kB failed
> [ 554.159953 ]
> [ 554.164801 ] overcommit_memory.c:211: PASS: alloc failed as expected
> [ 554.164804 ]
> [ 554.170196 ] overcommit_memory.c:190: INFO: malloc 270452012 kB failed
> [ 554.170199 ]
> [ 554.175344 ] overcommit_memory.c:211: PASS: alloc failed as expected
> [ 554.175347 ]
> [ 554.180932 ] overcommit_memory.c:186: INFO: malloc 134651878 kB
> successfully
> [ 554.180935 ]
> [ 554.186522 ] overcommit_memory.c:205: PASS: alloc passed as expected
> [ 554.186524 ]
> [ 554.191234 ] mem.c:814: INFO: set overcommit_memory to 0
> [ 554.191237 ]
> [ 554.196930 ] overcommit_memory.c:186: INFO: malloc 134734122 kB
> successfully
> [ 554.196933 ]
> [ 554.202738 ] overcommit_memory.c:205: PASS: alloc passed as expected
> [ 554.202742 ]
> [ 554.208563 ] overcommit_memory.c:190: INFO: malloc 538936488 kB failed
> [ 554.208566 ]
> [ 554.214355 ] overcommit_memory.c:211: PASS: alloc failed as expected
> [ 554.214357 ]
> [ 554.220506 ] overcommit_memory.c:186: INFO: malloc 272468576 kB
> successfully
> [ 554.220509 ]
> [ 554.226564 ] overcommit_memory.c:213: FAIL: alloc passed, expected to fail
> [ 554.226568 ]
> [ 554.231870 ] mem.c:814: INFO: set overcommit_memory to 1
> [ 554.231873 ]
> [ 554.237819 ] overcommit_memory.c:186: INFO: malloc 136234288 kB
> successfully
> [ 554.237821 ]
> [ 554.243711 ] overcommit_memory.c:205: PASS: alloc passed as expected
> [ 554.243713 ]
> [ 554.249791 ] overcommit_memory.c:186: INFO: malloc 272468576 kB
> successfully
> [ 554.249794 ]
> [ 554.255069 ] overcommit_memory.c:205: PASS: alloc passed as expected
> [ 554.255073 ]
> [ 554.261594 ] overcommit_memory.c:186: INFO: malloc 544937152 kB
> successfully
> [ 554.261597 ]
> [ 554.267855 ] overcommit_memory.c:205: PASS: alloc passed as expected
> [ 554.267858 ]
> [ 554.273445 ] mem.c:814: INFO: set overcommit_memory to 0
> [ 554.273448 ]
> [ 554.278882 ] mem.c:814: INFO: set overcommit_ratio to 50
> [ 554.278885 ]
> [ 554.282419 ]
> [ 554.284170 ] Summary:
> [ 554.284173 ]
> [ 554.287476 ] passed 8
> [ 554.287480 ]
> [ 554.290740 ] failed 1
> [ 554.290743 ]
> [ 554.293971 ] skipped 0
> [ 554.293974 ]
> [ 554.297123 ] warnings 0
> [ 554.297126 ]
> [ 554.300746 ] <<<execution_status>>>
> [ 554.300749 ]
> [ 554.304489 ] initiation_status="ok"
> [ 554.304492 ]
> [ 554.309762 ] duration=0 termination_type=exited termination_id=1
> corefile=no
> [ 554.309765 ]
> [ 554.313681 ] cutime=0 cstime=0
> [ 554.313685 ]
> [ 554.316880 ] <<<test_end>>>
>
>
>
> To reproduce:
>
> # build kernel
> cd linux
> cp config-5.1.0-10246-g8c7829b .config
> make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
> make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
> make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
> make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
> make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 bzImage
>
>
> git clone https://github.com/intel/lkp-tests.git
> cd lkp-tests
> find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
> bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached
> in this email
>
>
>
>
> Thanks,
> Rong Chen
>
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
WARNING: multiple messages have this Message-ID (diff)
From: Jan Stancek <jstancek@redhat.com>
To: lkp@lists.01.org
Subject: Re: [LTP] [mm] 8c7829b04c: ltp.overcommit_memory01.fail
Date: Mon, 20 May 2019 06:04:46 -0400 [thread overview]
Message-ID: <875220079.23570847.1558346686738.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20190520032018.GW31424@shao2-debian>
[-- Attachment #1: Type: text/plain, Size: 5297 bytes --]
----- Original Message -----
> FYI, we noticed the following commit (built with gcc-7):
>
> commit: 8c7829b04c523cdc732cb77f59f03320e09f3386 ("mm: fix false-positive
> OVERCOMMIT_GUESS failures")
This matches report from Naresh:
http://lists.linux.it/pipermail/ltp/2019-May/011962.html
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
>
> in testcase: ltp
> with following parameters:
>
> disk: 1HDD
> test: mm-01
>
> test-description: The LTP testsuite contains a collection of tools for
> testing the Linux kernel and related features.
> test-url: http://linux-test-project.github.io/
>
>
> on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
>
> caused below changes (please refer to attached dmesg/kmsg for entire
> log/backtrace):
>
>
> If you fix the issue, kindly add following tag
> Reported-by: kernel test robot <rong.a.chen@intel.com>
>
>
> [ 554.112267 ] <<<test_start>>>
> [ 554.112269 ]
> [ 554.115806 ] tag=overcommit_memory01 stime=1558074982
> [ 554.115809 ]
> [ 554.119303 ] cmdline="overcommit_memory"
> [ 554.119306 ]
> [ 554.121962 ] contacts=""
> [ 554.121965 ]
> [ 554.124459 ] analysis=exit
> [ 554.124463 ]
> [ 554.127140 ] <<<test_output>>>
> [ 554.127144 ]
> [ 554.131401 ] tst_test.c:1096: INFO: Timeout per run is 0h 05m 00s
> [ 554.131404 ]
> [ 554.136248 ] overcommit_memory.c:117: INFO: MemTotal is 4033124 kB
> [ 554.136251 ]
> [ 554.141365 ] overcommit_memory.c:119: INFO: SwapTotal is 268435452 kB
> [ 554.141368 ]
> [ 554.146664 ] overcommit_memory.c:123: INFO: CommitLimit is 270452012 kB
> [ 554.146666 ]
> [ 554.151375 ] mem.c:814: INFO: set overcommit_ratio to 50
> [ 554.151378 ]
> [ 554.155796 ] mem.c:814: INFO: set overcommit_memory to 2
> [ 554.155799 ]
> [ 554.159951 ] overcommit_memory.c:190: INFO: malloc 538608648 kB failed
> [ 554.159953 ]
> [ 554.164801 ] overcommit_memory.c:211: PASS: alloc failed as expected
> [ 554.164804 ]
> [ 554.170196 ] overcommit_memory.c:190: INFO: malloc 270452012 kB failed
> [ 554.170199 ]
> [ 554.175344 ] overcommit_memory.c:211: PASS: alloc failed as expected
> [ 554.175347 ]
> [ 554.180932 ] overcommit_memory.c:186: INFO: malloc 134651878 kB
> successfully
> [ 554.180935 ]
> [ 554.186522 ] overcommit_memory.c:205: PASS: alloc passed as expected
> [ 554.186524 ]
> [ 554.191234 ] mem.c:814: INFO: set overcommit_memory to 0
> [ 554.191237 ]
> [ 554.196930 ] overcommit_memory.c:186: INFO: malloc 134734122 kB
> successfully
> [ 554.196933 ]
> [ 554.202738 ] overcommit_memory.c:205: PASS: alloc passed as expected
> [ 554.202742 ]
> [ 554.208563 ] overcommit_memory.c:190: INFO: malloc 538936488 kB failed
> [ 554.208566 ]
> [ 554.214355 ] overcommit_memory.c:211: PASS: alloc failed as expected
> [ 554.214357 ]
> [ 554.220506 ] overcommit_memory.c:186: INFO: malloc 272468576 kB
> successfully
> [ 554.220509 ]
> [ 554.226564 ] overcommit_memory.c:213: FAIL: alloc passed, expected to fail
> [ 554.226568 ]
> [ 554.231870 ] mem.c:814: INFO: set overcommit_memory to 1
> [ 554.231873 ]
> [ 554.237819 ] overcommit_memory.c:186: INFO: malloc 136234288 kB
> successfully
> [ 554.237821 ]
> [ 554.243711 ] overcommit_memory.c:205: PASS: alloc passed as expected
> [ 554.243713 ]
> [ 554.249791 ] overcommit_memory.c:186: INFO: malloc 272468576 kB
> successfully
> [ 554.249794 ]
> [ 554.255069 ] overcommit_memory.c:205: PASS: alloc passed as expected
> [ 554.255073 ]
> [ 554.261594 ] overcommit_memory.c:186: INFO: malloc 544937152 kB
> successfully
> [ 554.261597 ]
> [ 554.267855 ] overcommit_memory.c:205: PASS: alloc passed as expected
> [ 554.267858 ]
> [ 554.273445 ] mem.c:814: INFO: set overcommit_memory to 0
> [ 554.273448 ]
> [ 554.278882 ] mem.c:814: INFO: set overcommit_ratio to 50
> [ 554.278885 ]
> [ 554.282419 ]
> [ 554.284170 ] Summary:
> [ 554.284173 ]
> [ 554.287476 ] passed 8
> [ 554.287480 ]
> [ 554.290740 ] failed 1
> [ 554.290743 ]
> [ 554.293971 ] skipped 0
> [ 554.293974 ]
> [ 554.297123 ] warnings 0
> [ 554.297126 ]
> [ 554.300746 ] <<<execution_status>>>
> [ 554.300749 ]
> [ 554.304489 ] initiation_status="ok"
> [ 554.304492 ]
> [ 554.309762 ] duration=0 termination_type=exited termination_id=1
> corefile=no
> [ 554.309765 ]
> [ 554.313681 ] cutime=0 cstime=0
> [ 554.313685 ]
> [ 554.316880 ] <<<test_end>>>
>
>
>
> To reproduce:
>
> # build kernel
> cd linux
> cp config-5.1.0-10246-g8c7829b .config
> make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
> make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
> make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
> make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
> make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 bzImage
>
>
> git clone https://github.com/intel/lkp-tests.git
> cd lkp-tests
> find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
> bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached
> in this email
>
>
>
>
> Thanks,
> Rong Chen
>
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
WARNING: multiple messages have this Message-ID (diff)
From: Jan Stancek <jstancek@redhat.com>
To: kernel test robot <rong.a.chen@intel.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
lkp@01.org, Roman Gushchin <guro@fb.com>,
ltp@lists.linux.it, naresh.kamboju@linaro.org
Subject: Re: [LTP] [mm] 8c7829b04c: ltp.overcommit_memory01.fail
Date: Mon, 20 May 2019 06:04:46 -0400 (EDT) [thread overview]
Message-ID: <875220079.23570847.1558346686738.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20190520032018.GW31424@shao2-debian>
----- Original Message -----
> FYI, we noticed the following commit (built with gcc-7):
>
> commit: 8c7829b04c523cdc732cb77f59f03320e09f3386 ("mm: fix false-positive
> OVERCOMMIT_GUESS failures")
This matches report from Naresh:
http://lists.linux.it/pipermail/ltp/2019-May/011962.html
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
>
> in testcase: ltp
> with following parameters:
>
> disk: 1HDD
> test: mm-01
>
> test-description: The LTP testsuite contains a collection of tools for
> testing the Linux kernel and related features.
> test-url: http://linux-test-project.github.io/
>
>
> on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
>
> caused below changes (please refer to attached dmesg/kmsg for entire
> log/backtrace):
>
>
> If you fix the issue, kindly add following tag
> Reported-by: kernel test robot <rong.a.chen@intel.com>
>
>
> [ 554.112267 ] <<<test_start>>>
> [ 554.112269 ]
> [ 554.115806 ] tag=overcommit_memory01 stime=1558074982
> [ 554.115809 ]
> [ 554.119303 ] cmdline="overcommit_memory"
> [ 554.119306 ]
> [ 554.121962 ] contacts=""
> [ 554.121965 ]
> [ 554.124459 ] analysis=exit
> [ 554.124463 ]
> [ 554.127140 ] <<<test_output>>>
> [ 554.127144 ]
> [ 554.131401 ] tst_test.c:1096: INFO: Timeout per run is 0h 05m 00s
> [ 554.131404 ]
> [ 554.136248 ] overcommit_memory.c:117: INFO: MemTotal is 4033124 kB
> [ 554.136251 ]
> [ 554.141365 ] overcommit_memory.c:119: INFO: SwapTotal is 268435452 kB
> [ 554.141368 ]
> [ 554.146664 ] overcommit_memory.c:123: INFO: CommitLimit is 270452012 kB
> [ 554.146666 ]
> [ 554.151375 ] mem.c:814: INFO: set overcommit_ratio to 50
> [ 554.151378 ]
> [ 554.155796 ] mem.c:814: INFO: set overcommit_memory to 2
> [ 554.155799 ]
> [ 554.159951 ] overcommit_memory.c:190: INFO: malloc 538608648 kB failed
> [ 554.159953 ]
> [ 554.164801 ] overcommit_memory.c:211: PASS: alloc failed as expected
> [ 554.164804 ]
> [ 554.170196 ] overcommit_memory.c:190: INFO: malloc 270452012 kB failed
> [ 554.170199 ]
> [ 554.175344 ] overcommit_memory.c:211: PASS: alloc failed as expected
> [ 554.175347 ]
> [ 554.180932 ] overcommit_memory.c:186: INFO: malloc 134651878 kB
> successfully
> [ 554.180935 ]
> [ 554.186522 ] overcommit_memory.c:205: PASS: alloc passed as expected
> [ 554.186524 ]
> [ 554.191234 ] mem.c:814: INFO: set overcommit_memory to 0
> [ 554.191237 ]
> [ 554.196930 ] overcommit_memory.c:186: INFO: malloc 134734122 kB
> successfully
> [ 554.196933 ]
> [ 554.202738 ] overcommit_memory.c:205: PASS: alloc passed as expected
> [ 554.202742 ]
> [ 554.208563 ] overcommit_memory.c:190: INFO: malloc 538936488 kB failed
> [ 554.208566 ]
> [ 554.214355 ] overcommit_memory.c:211: PASS: alloc failed as expected
> [ 554.214357 ]
> [ 554.220506 ] overcommit_memory.c:186: INFO: malloc 272468576 kB
> successfully
> [ 554.220509 ]
> [ 554.226564 ] overcommit_memory.c:213: FAIL: alloc passed, expected to fail
> [ 554.226568 ]
> [ 554.231870 ] mem.c:814: INFO: set overcommit_memory to 1
> [ 554.231873 ]
> [ 554.237819 ] overcommit_memory.c:186: INFO: malloc 136234288 kB
> successfully
> [ 554.237821 ]
> [ 554.243711 ] overcommit_memory.c:205: PASS: alloc passed as expected
> [ 554.243713 ]
> [ 554.249791 ] overcommit_memory.c:186: INFO: malloc 272468576 kB
> successfully
> [ 554.249794 ]
> [ 554.255069 ] overcommit_memory.c:205: PASS: alloc passed as expected
> [ 554.255073 ]
> [ 554.261594 ] overcommit_memory.c:186: INFO: malloc 544937152 kB
> successfully
> [ 554.261597 ]
> [ 554.267855 ] overcommit_memory.c:205: PASS: alloc passed as expected
> [ 554.267858 ]
> [ 554.273445 ] mem.c:814: INFO: set overcommit_memory to 0
> [ 554.273448 ]
> [ 554.278882 ] mem.c:814: INFO: set overcommit_ratio to 50
> [ 554.278885 ]
> [ 554.282419 ]
> [ 554.284170 ] Summary:
> [ 554.284173 ]
> [ 554.287476 ] passed 8
> [ 554.287480 ]
> [ 554.290740 ] failed 1
> [ 554.290743 ]
> [ 554.293971 ] skipped 0
> [ 554.293974 ]
> [ 554.297123 ] warnings 0
> [ 554.297126 ]
> [ 554.300746 ] <<<execution_status>>>
> [ 554.300749 ]
> [ 554.304489 ] initiation_status="ok"
> [ 554.304492 ]
> [ 554.309762 ] duration=0 termination_type=exited termination_id=1
> corefile=no
> [ 554.309765 ]
> [ 554.313681 ] cutime=0 cstime=0
> [ 554.313685 ]
> [ 554.316880 ] <<<test_end>>>
>
>
>
> To reproduce:
>
> # build kernel
> cd linux
> cp config-5.1.0-10246-g8c7829b .config
> make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
> make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
> make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
> make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
> make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 bzImage
>
>
> git clone https://github.com/intel/lkp-tests.git
> cd lkp-tests
> find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
> bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached
> in this email
>
>
>
>
> Thanks,
> Rong Chen
>
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
next prev parent reply other threads:[~2019-05-20 10:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-20 3:20 [LTP] [mm] 8c7829b04c: ltp.overcommit_memory01.fail kernel test robot
2019-05-20 3:20 ` kernel test robot
2019-05-20 10:02 ` [LTP] " Cyril Hrubis
2019-05-20 10:02 ` Cyril Hrubis
2019-05-20 10:02 ` Cyril Hrubis
2019-05-20 10:04 ` Jan Stancek [this message]
2019-05-20 10:04 ` Jan Stancek
2019-05-20 10:04 ` Jan Stancek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875220079.23570847.1558346686738.JavaMail.zimbra@redhat.com \
--to=jstancek@redhat.com \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.