]> code.ossystems Code Review - openembedded-core.git/commit
valgrind: disable 256 ptests for aarch64
authorRandy MacLeod <Randy.MacLeod@windriver.com>
Tue, 10 Sep 2019 21:41:36 +0000 (17:41 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Sep 2019 08:54:21 +0000 (09:54 +0100)
commit208023f8fcbf4aee34544a80f962ae25f25ffb8d
tree931738bb67b4efe15c3f148aadf2533ec92d673d
parent6dbaaeec17eae8329031188b688b33306a871870
valgrind: disable 256 ptests for aarch64

On qemuarm64 systems, about half of the valgrind tests fail and
often result in defunct processes, eg:
   root       819   818 25 00:12 pts/0    00:01:52 /usr/bin/valgrind --command-line-only=yes --memcheck:leak-check=no --tool=memcheck -q --track-origins=
   root       861   420  0 00:13 pts/0    00:00:00 [sh] <defunct>
Eventually these processes use so much memory that the
out of memory killer runs.

Hide the tests that fail as a horrid work-around until the
root cause has been resolved since this at least allows the
ptest run to complete. This work-around is done in the run-ptest
script using a sorted list of tests so that they can be easily
restored one by one without a rebuild during testing.

With core-image-minimal on qemuarm64:
Recipe         | Passed      | Failed   | Skipped   | Time(s)
valgrind       | 333         | 49       | 17        | 7637

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/valgrind/valgrind/remove-for-aarch64 [new file with mode: 0644]
meta/recipes-devtools/valgrind/valgrind/run-ptest
meta/recipes-devtools/valgrind/valgrind_3.15.0.bb