All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy MacLeod <Randy.MacLeod@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 0/5] valgrind: ptests
Date: Wed, 29 Dec 2021 17:37:25 -0800	[thread overview]
Message-ID: <20211230013730.129852-1-Randy.MacLeod@windriver.com> (raw)

Tested on khem's glibc upgrade branch:
   https://git.yoctoproject.org/poky-contrib/log/?h=kraj/poky-next
and poky master (
   9b99eb9e36 tzdata: Remove no longer relevant RCONFLICTS:${PN}

Summary:

Work-around a glibc upgrade error in a way that also works for glibc-2.34 on master.
Fix up some ptest warnings and temporarily skip the boost_thread test for arm64.


Results:

On the branch currently known as master, the ptest summary is:

qemux86-64:

=== Test Summary ===
TOTAL: 730
PASSED: 711
FAILED: 0
SKIPPED: 19
DURATION: 1052
END: /usr/lib/valgrind/ptest
2021-12-29T23:12
STOP: ptest-runner
TOTAL: 1 FAIL: 0


qemuarm64:

TOTAL: 415
PASSED: 395
FAILED: 0
SKIPPED: 20
DURATION: 4521
END: /usr/lib/valgrind/ptest
2021-12-30T00:33
STOP: ptest-runner
TOTAL: 1 FAIL: 0

and the output from running: ptest-runner valgrind has no superfluous warnings:

root@qemuarm64:~# ptest-runner -l  
Available ptests:                      
strace  /usr/lib/strace/ptest/run-ptest       
valgrind        /usr/lib/valgrind/ptest/run-ptest
root@qemuarm64:~# ptest-runner valgrind
START: ptest-runner                            
2021-12-29T23:18                             
BEGIN: /usr/lib/valgrind/ptest       
Hide valgrind tests that are non-deterministic
Reported at https://bugs.kde.org/show_bug.cgi?id=430321
Aarch64: Hide valgrind tests that result in defunct process and then out of memory
Run non-deterministic tests using taskset to limit them to a single core.
PASS: gdbserver_tests/mcblocklistsearch          
PASS: gdbserver_tests/mcbreak 
...
PASS: none/tests/vgprintf
PASS: none/tests/vgprintf_nvalgrind

...checking makefile consistency
...checking header files and include directives
Restore non-deterministic tests
Aarch64: Restore valgrind tests that result in defunct process and then out of memory
Restore valgrind tests that are non-deterministc
Failed test details...
=== Test Summary ===
TOTAL: 415
PASSED: 395
FAILED: 0
SKIPPED: 20
DURATION: 4521
END: /usr/lib/valgrind/ptest
2021-12-30T00:33
STOP: ptest-runner
TOTAL: 1 FAIL: 0


../Randy


Randy MacLeod (5):
  valgrind: Add util-linux-taskset ptest dependency
  valgrind: backport rseq work-around
  valgrind: remove duplicate and skipped tests from remove-for-aarch64
  valgrind: skip boost_thread for aarch64 ptests
  valgrind: make run-ptest better

 ...plement-linux-rseq-syscall-as-ENOSYS.patch | 198 ++++++++++++++++++
 .../valgrind/valgrind/remove-for-aarch64      |   9 +-
 .../valgrind/valgrind/run-ptest               |  23 +-
 .../valgrind/valgrind_3.18.1.bb               |   4 +-
 4 files changed, 216 insertions(+), 18 deletions(-)
 create mode 100644 meta/recipes-devtools/valgrind/valgrind/0001-Implement-linux-rseq-syscall-as-ENOSYS.patch

-- 
2.31.1



             reply	other threads:[~2021-12-30  1:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-30  1:37 Randy MacLeod [this message]
2021-12-30  1:37 ` [PATCH 1/5] valgrind: Add util-linux-taskset ptest dependency Randy MacLeod
2021-12-30  1:37 ` [PATCH 2/5] valgrind: backport rseq work-around Randy MacLeod
2021-12-30  1:37 ` [PATCH 3/5] valgrind: remove duplicate and skipped tests from remove-for-aarch64 Randy MacLeod
2021-12-30  1:37 ` [PATCH 4/5] valgrind: skip boost_thread for aarch64 ptests Randy MacLeod
2021-12-30  1:37 ` [PATCH 5/5] valgrind: make run-ptest better Randy MacLeod

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=20211230013730.129852-1-Randy.MacLeod@windriver.com \
    --to=randy.macleod@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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.