From: Randy MacLeod <randy.macleod@windriver.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Cc: alex.kanavin@gmail.com
Subject: Re: [OE-core] [RFC 1/5] valgrind: make ptest depend on all components
Date: Wed, 8 Nov 2023 21:00:23 -0500 [thread overview]
Message-ID: <94196e06-f078-4df5-afee-e29c05f11b37@windriver.com> (raw)
In-Reply-To: <1795D005C571B567.15940@lists.openembedded.org>
[-- Attachment #1: Type: text/plain, Size: 3367 bytes --]
On 2023-11-08 8:25 p.m., Randy MacLeod via lists.openembedded.org wrote:
> From: Randy MacLeod<Randy.MacLeod@windriver.com>
>
> When the helper scripts were split into separate packages, they
> weren't added as ptest dependencies. Fix that.
Well, this is embarrassing...
I'm no longer convinced that this is required.
I think I saw the ../cg_diff errors below:
PASS: memcheck/tests/vcpu_fbench
PASS: memcheck/tests/wcs
PASS: memcheck/tests/wcsncpy
PASS: memcheck/tests/wmemcmp
FAIL: memcheck/tests/wrap1
FAIL: memcheck/tests/wrap2
FAIL: memcheck/tests/wrap3
FAIL: memcheck/tests/wrap4
FAIL: memcheck/tests/wrap5
FAIL: memcheck/tests/wrap6
FAIL: memcheck/tests/wrap7
FAIL: memcheck/tests/wrap8
PASS: memcheck/tests/wrapmalloc
PASS: memcheck/tests/wrapmallocstatic
PASS: memcheck/tests/writev1
PASS: memcheck/tests/xml1
python3: can't open file
'/usr/lib/valgrind/ptest/cachegrind/tests/../cg_diff': [Errno 2] No such
file or directory
post check failed: python3 ../cg_diff --mod-funcname="s/main/MAIN/"
ann1.cgout ann1b.cgout > ann-diff1.cgout && python3 ../cg_annotate
--mod-filename="s/a.c/A.c/" --mod-funcname s/MAIN/Main/
PASS: cachegrind/tests/ann-diff1
python3: can't open file
'/usr/lib/valgrind/ptest/cachegrind/tests/../cg_diff': [Errno 2] No such
file or directory
post check failed: python3 ../cg_diff --mod-filename="s/.*aux\//aux\//i"
--mod-funcname="s/(f[a-z]*)[0-9]/\1N/g" ann-diff2a.cgout
ann-diff2b.cgout > ann-diff2c.cgout && python3 ../cg_annotat
PASS: cachegrind/tests/ann-diff2
and made an assumption that may not be valid. I think this problem is
still present
even after this change.
As I said previously, I may not have time to get back to this until next
week so
if anyone picks up this work, they might want to confirm that this is
really required.
I should have just waited until I had time to complete the update before
spamming the list.
../Randy
../Randy
>
> Signed-off-by: Randy MacLeod<Randy.MacLeod@windriver.com>
> ---
> meta/recipes-devtools/valgrind/valgrind_3.21.0.bb | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/valgrind/valgrind_3.21.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.21.0.bb
> index 68ab319a1b..a2feda6aae 100644
> --- a/meta/recipes-devtools/valgrind/valgrind_3.21.0.bb
> +++ b/meta/recipes-devtools/valgrind/valgrind_3.21.0.bb
> @@ -139,7 +139,9 @@ RDEPENDS:${PN}-ptest += " bash coreutils curl file \
> perl-module-overloading perl-module-cwd perl-module-ipc-open3 \
> perl-module-carp perl-module-symbol \
> procps sed ${PN}-dbg ${PN}-src ${TCLIBC}-src gcc-runtime-dbg \
> - util-linux-taskset"
> + util-linux-taskset \
> + ${PN}-cachegrind ${PN}-massif ${PN}-callgrind \
> +"
> RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils glibc-gconv-utf-32"
>
> # One of the tests contains a bogus interpreter path on purpose.
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#190367):https://lists.openembedded.org/g/openembedded-core/message/190367
> Mute This Topic:https://lists.openembedded.org/mt/102477896/3616765
> Group Owner:openembedded-core+owner@lists.openembedded.org
> Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [randy.macleod@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
# Randy MacLeod
# Wind River Linux
[-- Attachment #2: Type: text/html, Size: 5614 bytes --]
next parent reply other threads:[~2023-11-09 2:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1795D005C571B567.15940@lists.openembedded.org>
2023-11-09 2:00 ` Randy MacLeod [this message]
2023-11-15 14:48 ` [OE-core] [RFC 1/5] valgrind: make ptest depend on all components Alexander Kanavin
2023-11-15 16:30 ` Randy MacLeod
2023-11-17 12:04 ` Alex Kiernan
[not found] ` <179867874B67F596.6542@lists.openembedded.org>
2023-11-20 16:27 ` Alex Kiernan
2023-11-21 11:30 ` Yash Shinde
2023-11-21 15:57 ` Alex Kiernan
2023-11-22 14:18 ` Yash Shinde
2023-11-23 13:24 ` Alex Kiernan
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=94196e06-f078-4df5-afee-e29c05f11b37@windriver.com \
--to=randy.macleod@windriver.com \
--cc=alex.kanavin@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox