Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters

[perl #119231] ExtUtils::ParseXS 3.21 fails under parallel testing ( HARNESS_OPTIONS=j(n>1) )

 

 

Perl porters RSS feed   Index | Next | Previous | View Threaded


perlbug-followup at perl

Aug 10, 2013, 11:53 PM

Post #1 of 1 (15 views)
Permalink
[perl #119231] ExtUtils::ParseXS 3.21 fails under parallel testing ( HARNESS_OPTIONS=j(n>1) )

# New Ticket Created by Kent Fredric
# Please include the string: [perl #119231]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=119231 >


This is a bug report for perl from kentfredric [at] gmail,
generated with the help of perlbug 1.39 running under perl 5.18.0.


-----------------------------------------------------------------
[Please describe your issue here]

Under HARNESS_OPTIONS=j$N with values of $N greater than 1, tests
randomly fail.

Some of them are pretty tragic, and result in errors resulting from
GCC not finding files:


t/002-more.t ............................. ok
===( 254;1 4/14 3/11 )==========================================
# Failed test 'Line numbers created in output file, as intended'

<several hundred lines of omitted C source code printed to terminal>

# Looks like you failed 4 tests of 14.
t/001-basic.t ............................ Dubious, test returned 4
(wstat 1024, 0x400)
Failed 4/14 subtests
t/004-nolinenumbers.t .................... gcc: error: XSTest.c: No
such file or directory
gcc: fatal error: no input files
compilation terminated.
error building XSTest.o from 'XSTest.c' at
/home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/5.18.0/ExtUtils/CBuilder/Base.pm
line 177.
# Looks like you planned 11 tests but ran 3.
# Looks like your test exited with 2 just after 3.
t/004-nolinenumbers.t .................... Dubious, test returned 2
(wstat 512, 0x200)
Failed 8/11 subtests

Test Summary Report
-------------------
t/001-basic.t (Wstat: 1024 Tests: 14 Failed: 4)
Failed tests: 11-14
Non-zero exit status: 4
t/004-nolinenumbers.t (Wstat: 512 Tests: 3 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 11 tests but ran 3.

Another run:

t/002-more.t ............................. ok
===( 253;2 3/14 3/11 )==========================================
# Failed test 'No linenumbers created in output file, as intended'
# at t/004-nolinenumbers.t line 86.
# got: '1'
# expected: '0'
# Looks like you failed 1 test of 11.
t/004-nolinenumbers.t .................... Dubious, test returned 1
(wstat 256, 0x100)
Failed 1/11 subtests
t/001-basic.t ............................
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld:
reopening XSTest.o: No such file or directory

/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld:
reopening XSTest.o: No such file or directory

/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld:
can not read symbols: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld:
reopening XSTest.o: No such file or directory

/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld:
final link failed: No such file or directory
collect2: error: ld returned 1 exit status
error building XSTest.so from XSTest.o at
/home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/5.18.0/ExtUtils/CBuilder/Base.pm
line 312.
# Looks like you planned 14 tests but ran 5.
# Looks like your test exited with 2 just after 5.
t/001-basic.t ............................ Dubious, test returned 2
(wstat 512, 0x200)
Failed 9/14 subtests

Test Summary Report
-------------------
t/004-nolinenumbers.t (Wstat: 256 Tests: 11 Failed: 1)
Failed test: 11
Non-zero exit status: 1
t/001-basic.t (Wstat: 512 Tests: 5 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 14 tests but ran 5.




t/512-t-file.t ........................... ok
t/513-t-merge.t .......................... ok
===( 156;1 4/14 2/28 2/24 3/11 1/6 0/41 0/? )===========
# Failed test 'No error message recorded, as expected'
# at t/001-basic.t line 51.
# got: 'Can't find 'boot_XSTest' symbol in ./XSTest.so
# at t/001-basic.t line 50.
# Compilation failed in require at t/001-basic.t line 50.
# '
# expected: ''
Undefined subroutine &XSTest::is_even called at t/001-basic.t line 52.
# Looks like you planned 14 tests but ran 8.
# Looks like you failed 1 test of 8 run.
# Looks like your test exited with 2 just after 8.
t/001-basic.t ............................ Dubious, test returned 2
(wstat 512, 0x200)
Failed 7/14 subtests
t/515-t-cmd.t ............................ ok
t/517-t-targetable.t ..................... ok
t/600-t-compat.t ......................... ok
t/003-usage.t ............................ ok
t/004-nolinenumbers.t .................... ok
t/002-more.t ............................. ok

Test Summary Report
-------------------
t/001-basic.t (Wstat: 512 Tests: 8 Failed: 1)
Failed test: 8
Non-zero exit status: 2
Parse errors: Bad plan. You planned 14 tests but ran 8.



[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=library
severity=low
module=ExtUtils::ParseXS
---
Site configuration information for perl 5.18.0:

Configured by kent at Sun May 19 04:43:36 NZST 2013.

Summary of my perl5 (revision 5 version 18 subversion 0) configuration:

Platform:
osname=linux, osvers=3.9.0-gentoo, archname=x86_64-linux
uname='linux katipo2 3.9.0-gentoo #35 smp fri may 3 15:27:53 nzst
2013 x86_64 intel(r) core(tm) i5-2410m cpu @ 2.30ghz genuineintel
gnulinux '
config_args='-de
-Dprefix=/home/kent/perl5/perlbrew/perls/perl-5.18.0
-Aeval:scriptdir=/home/kent/perl5/perlbrew/perls/perl-5.18.0/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -fstack-protector'
ccversion='', gccversion='4.7.2', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib/../lib64 /usr/lib/../lib64 /lib
/usr/lib /lib64 /usr/lib64 /usr/local/lib64
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.15.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.15'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib
-fstack-protector'

Locally applied patches:


---
@INC for perl 5.18.0:
/home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/x86_64-linux
/home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0
/home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/5.18.0/x86_64-linux
/home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/5.18.0
.

---
Environment for perl 5.18.0:
HOME=/home/kent
LANG (unset)
LANGUAGE (unset)
LC_CTYPE=en_NZ.UTF8
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/kent/perl5/perlbrew/bin:/home/kent/perl5/perlbrew/perls/perl-5.18.0/bin:/home/kent/.perl6/2013.04/bin:/home/kent/.gem/ruby/1.8/bin/:/home/kent/.perl6/2013.04/bin:/home/kent/.gem/ruby/1.8/bin/:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.2:/usr/games/bin
PERLBREW_BASHRC_VERSION=0.61
PERLBREW_HOME=/home/kent/.perlbrew
PERLBREW_MANPATH=/home/kent/perl5/perlbrew/perls/perl-5.18.0/man
PERLBREW_PATH=/home/kent/perl5/perlbrew/bin:/home/kent/perl5/perlbrew/perls/perl-5.18.0/bin
PERLBREW_PERL=perl-5.18.0
PERLBREW_ROOT=/home/kent/perl5/perlbrew
PERLBREW_VERSION=0.61
PERL_BADLANG (unset)
SHELL=/bin/bash

Perl porters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.