Skip to content

Some test suite failures on Fedora x86_64 with a threaded build of perl 5.24.4 #444

Open
@agentzh

Description

@agentzh

I'm observing some consistent test failures while running perlcc's test suite (the latest github master, commit 862bdf2) on Fedora x86_64 using a multi-threaded build of perl 5.24.4:

#   Failed test 'C \#305 compile-time Encode::XS encodings'
#   at t/TestBC.pm line 1314.
t/issue169.t ...... ok

#   Failed test 'C \#365 compile-time Encode subtypes'
#   at t/TestBC.pm line 1314.
# Looks like you failed 2 tests of 3.
t/issue305.t ......
not ok 1 - C \#305 compile-time Encode::XS encodings
not ok 3 - C \#365 compile-time Encode subtypes
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests
...
#   Failed test 'TODO, blocking as method_name saved'
#   at t/issue95.t line 73.
ccode95i_5c_o3.c: In function ‘main’:
ccode95i_5c_o3.c:197859:1: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
 main(int argc, char **argv, char **env)
 ^~~~
Warning: Write BEGIN-block main::$out to FileHandle > &4
ccode93iw_8c.pl syntax OK
Warning: Write BEGIN-block main::$out to FileHandle > &4
ccode93iw_9cc.pl syntax OK
...
# Looks like you failed 2 tests of 5.
t/issue95.t .......
not ok 2 - TODO, blocking as method_name saved
not ok 4 - TODO, blocking as method_name saved
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests
	(1 TODO test unexpectedly succeeded)
Warning: Label not found at compile time for "last GETFILE"
Warning: Label not found at compile time for "last GETFILE"
...
Test Summary Report
-------------------
t/issue305.t    (Wstat: 512 Tests: 3 Failed: 2)
  Failed tests:  1, 3
  Non-zero exit status: 2
t/issue95.t     (Wstat: 512 Tests: 5 Failed: 2)
  Failed tests:  2, 4
  TODO passed:   5
  Non-zero exit status: 2
...

Is it something we should concern about? Also, I wonder how you folks would debug such test failures, like locating the C source file and the binary executables for the failed subtests only. I found it pretty hard to dig deeper here.

It's worth mentioning that we don't have any custom patches in B::C or the perl itself.

Thanks for your help!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions