[Bug 2222854] perl-Test-Valgrind-1.19-22.fc39 FTBFS with perl 5.38.0: t/20-bad.t fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2222854



--- Comment #1 from Paul Howarth <paul@xxxxxxxxxxxx> ---
This appears to be related to valgrind 3.21.0 rather than Perl 5.38. I did a
mock build, keeping the chroot, then "mock ... --remove valgrind" and then
"mock ... --install valgrind-3.20.0-3.fc38.x86_64.rpm" and the tests passed
with a "mock ... shell" and "make test":

[mockbuild@7e50b388172e4f27b426ac5f2ac2d88a Test-Valgrind-1.19]$ make test
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Valgrind.bs
blib/arch/auto/Test/Valgrind/Valgrind.bs 644
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness"
"-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')"
t/*.t
t/00-load.t ................... 1/1 # Testing Test::Valgrind 1.19, Perl
5.038000, /usr/bin/perl
t/00-load.t ................... ok   
t/10-good.t ................... # Using valgrind 3.20.0 located at
/usr/bin/valgrind
# Generating suppressions...
# Suppressions for this perl stored in
/builddir/.perl/Test-Valgrind/suppressions/1.19/memcheck-3.20.0-d58730dcab9961e1c0618f9f9a87aee3.supp
# Using suppressions from
/builddir/.perl/Test-Valgrind/suppressions/1.19/memcheck-3.20.0-d58730dcab9961e1c0618f9f9a87aee3.supp
# 1..1
# not ok 1 - dummy test in the child, should not interfere with the actual TAP
stream
# 
# #   Failed test 'dummy test in the child, should not interfere with the
actual TAP stream'
# #   at t/10-good.t line 30.
# # Looks like you failed 1 test of 1.
t/10-good.t ................... ok    
t/12-good-run-exception.t ..... # Using valgrind 3.20.0 located at
/usr/bin/valgrind
# Using suppressions from
/builddir/.perl/Test-Valgrind/suppressions/1.19/memcheck-3.20.0-d58730dcab9961e1c0618f9f9a87aee3.supp
# dummy run-time exception, should not cause the test to fail at
t/12-good-run-exception.t line 20.
t/12-good-run-exception.t ..... ok     
t/20-bad.t .................... # Using valgrind 3.20.0 located at
/usr/bin/valgrind
# Using suppressions from
/builddir/.perl/Test-Valgrind/suppressions/1.19/memcheck-3.20.0-d58730dcab9961e1c0618f9f9a87aee3.supp
# # leaking some bytes!
t/20-bad.t .................... 1/18 # The subsequent report was correctly
caught:
#   10,000 bytes in 1 blocks are still reachable in loss record 18 of 18
#     malloc (/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
[vg_replace_malloc.c:393]
#     tv_leak
(/builddir/build/BUILD/Test-Valgrind-1.19/blib/arch/auto/Test/Valgrind/Valgrind.so)
[Valgrind.xs:34]
#     XS_Test__Valgrind_leak
(/builddir/build/BUILD/Test-Valgrind-1.19/blib/arch/auto/Test/Valgrind/Valgrind.so)
[Valgrind.xs:54]
#     Perl_pp_entersub (/usr/lib64/libperl.so.5.38.0) [pp_hot.c:5555]
#     Perl_runops_standard (/usr/lib64/libperl.so.5.38.0) [run.c:41]
#     UnknownInlinedFun (/usr/lib64/libperl.so.5.38.0) [perl.c:2812]
#     perl_run (/usr/lib64/libperl.so.5.38.0) [perl.c:2727]
#     main (/usr/bin/perl) [perlmain.c:127]
t/20-bad.t .................... ok     
t/30-skip.t ................... # Using IO::Handle 1.52
# Using IO::Select 1.52
# Using IPC::Open3 1.22
t/30-skip.t ................... ok   
t/60-version.t ................ ok       
t/70-session.t ................ ok   
t/71-session-command.t ........ ok   
t/80-suppressions.t ........... 1/4 # The default suppression file contains 12
suppressions, of which 12 are not empty and 9 apply to perl
t/80-suppressions.t ........... ok   
t/81-suppressions-demangle.t .. ok     
All tests successful.
Files=10, Tests=200, 32 wallclock secs ( 0.03 usr  0.00 sys + 17.83 cusr  0.98
csys = 18.84 CPU)
Result: PASS
[mockbuild@7e50b388172e4f27b426ac5f2ac2d88a Test-Valgrind-1.19]$ 

Reassign to valgrind?


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2222854

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202222854%23c1
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite Information]

  Powered by Linux