develooper Front page | perl.perl5.porters | Postings from November 2016

[perl #130143] t/op/getppid.t fails under docker/travis

Thread Previous
From:
Kent Fredric
Date:
November 21, 2016 14:21
Subject:
[perl #130143] t/op/getppid.t fails under docker/travis
Message ID:
rt-4.0.24-1135-1479738060-177.130143-75-0@perl.org
# New Ticket Created by  Kent Fredric 
# Please include the string:  [perl #130143]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=130143 >


This is a bug report for perl from kentfredric@gmail.com,
generated with the help of perlbug 1.40 running under perl 5.25.7.


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


Recently all my travis targets for Perl Tests started failing t/op/getppid.t

Even tests suites that had previously passed without fault started failing
when re-executed.

 
t/op/getppid ... 1..8
# Failed test 2 - New parent of orphaned first grandchild at op/getppid.t line 38
#      got "0"
# expected >= "1"
# grandchild waited until 'kill'
ok 1 - Parent of first grandchild
not ok 2 - New parent of orphaned first grandchild
# Failed test 5 - New parent of orphaned second grandchild at op/getppid.t line 38
#      got "0"
# expected >= "1"
# grandchild waited until 'kill'
FAILED at test 2
Failed 1 test out of 1, 0.00% okay.
	op/getppid.t

Initial diagnosis suggests docker is doing something where those processes
get reaped/leak outside the container or something.


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=medium
---
Site configuration information for perl 5.25.7:

Configured by root at Nov 21 2016 13:45:58

Summary of my perl5 (revision 5 version 25 subversion 7) configuration:
   
  Platform:
    osname=linux
    osvers=4.8.7-040807-generic
    archname=x86_64-linux
    uname='linux testing-docker-2bff6298-a515-4ec6-9489-113816dfd551 4.8.7-040807-generic #201611101131 smp thu nov 10 16:33:40 utc 2016 x86_64 x86_64 x86_64 gnulinux '
    config_args='-des -Duseshrplib -Dcc=gcc -Dd_semctl_semun -Dusedevel -Ud_csh -Dsh=/bin/sh -Dtargetsh=/bin/sh -Uusenm -Dnoextensions=ODBM_File -Dmyhostname=localhost -Dperladmin=root@localhost -Dinstallusrbinperl=n'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    bincompat5005=undef
  Compiler:
    cc='gcc'
    ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    optimize='-O2'
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion=''
    gccversion='4.6.3'
    gccosandvers=''
    intsize=4
    longsize=8
    ptrsize=8
    doublesize=8
    byteorder=12345678
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=16
    longdblkind=3
    ivtype='long'
    ivsize=8
    nvtype='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=8
    prototype=define
  Linker and Libraries:
    ld='gcc'
    ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
    libs=-lpthread -lnsl -lgdbm -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.15.so
    so=so
    useshrplib=true
    libperl=libperl.so
    gnulibc_version='2.15'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='-Wl,-E -Wl,-rpath,/usr/local/lib/perl5/5.25.7/x86_64-linux/CORE'
    cccdlflags='-fPIC'
    lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options:
    HAS_TIMES
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_DEVEL
    USE_64_BIT_ALL
    USE_64_BIT_INT
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
  Built under linux
  Compiled at Nov 21 2016 13:45:58
  @INC:
    lib
    /usr/local/lib/perl5/site_perl/5.25.7/x86_64-linux
    /usr/local/lib/perl5/site_perl/5.25.7
    /usr/local/lib/perl5/5.25.7/x86_64-linux
    /usr/local/lib/perl5/5.25.7
    .


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About