Mojo-IOLoop-ReadWriteProcess v0.33 Perl 5 v5.34.1 x86_64-linux-thread-multi-ld

Status
Fail
From
Andreas J. König (ANDK)
Dist
Mojo-IOLoop-ReadWriteProcess v0.33
Platform
Perl 5 v5.34.1 x86_64-linux-thread-multi-ld
Date
2022-12-12 12:56:37
ID
6a2b8c8a-7a1c-11ed-809c-a3e9f9533e7d
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language.  See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org


--
Dear Santiago Zarate,

This is a computer-generated report for Mojo-IOLoop-ReadWriteProcess-0.33
on perl 5.34.1, created by CPAN-Reporter-1.2018.

Thank you for uploading your work to CPAN.  However, there was a problem
testing your distribution.

If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:

http://wiki.cpantesters.org/wiki/CPANAuthorNotes

Sections of this report:

    * Tester comments
    * Program output
    * Prerequisites
    * Environment and other context

------------------------------
TESTER COMMENTS
------------------------------

Additional comments from tester:

this report is from an automated smoke testing program
and was not reviewed by a human for accuracy

------------------------------
PROGRAM OUTPUT
------------------------------

Output from './Build test':

t/00_compile.t ........... ok
TEST error print
>> Mojo::IOLoop::ReadWriteProcess::_fork(): Fork: {
    use warnings;
    use strict;
    shift();
    print "$_$/" foreach (@_);
}
>> Mojo::IOLoop::ReadWriteProcess::_fork_collect_status(): Forked code Process Exit status: 192
>> Mojo::IOLoop::ReadWriteProcess::_fork_collect_status(): Forked code Process Returns: nothing
>> Mojo::IOLoop::ReadWriteProcess::_fork_collect_status(): Forked code Process Errors: 
>> Mojo::IOLoop::ReadWriteProcess::_shutdown(): Shutdown 26191
>> Mojo::IOLoop::ReadWriteProcess::_fork(): Fork: {
    use warnings;
    use strict;
    shift();
    print "$_$/" foreach (@_);
}
>> Mojo::IOLoop::ReadWriteProcess::_fork_collect_status(): Forked code Process Exit status: 32
>> Mojo::IOLoop::ReadWriteProcess::_fork_collect_status(): Forked code Process Returns: nothing
>> Mojo::IOLoop::ReadWriteProcess::_fork_collect_status(): Forked code Process Errors: 
>> Mojo::IOLoop::ReadWriteProcess::_shutdown(): Shutdown 26192
>> Mojo::IOLoop::ReadWriteProcess::_fork(): Fork: {
    use warnings;
    use strict;
    shift();
    print "$_$/" foreach (@_);
}
>> Mojo::IOLoop::ReadWriteProcess::_fork_collect_status(): Forked code Process Exit status: 232
>> Mojo::IOLoop::ReadWriteProcess::_fork_collect_status(): Forked code Process Returns: nothing
>> Mojo::IOLoop::ReadWriteProcess::_fork_collect_status(): Forked code Process Errors: 
>> Mojo::IOLoop::ReadWriteProcess::_shutdown(): Shutdown 26193
>> Mojo::IOLoop::ReadWriteProcess::_fork(): Fork: {
    use warnings;
    use strict;
    shift();
    print "$_$/" foreach (@_);
}
>> Mojo::IOLoop::ReadWriteProcess::_fork_collect_status(): Forked code Process Exit status: 16
>> Mojo::IOLoop::ReadWriteProcess::_fork_collect_status(): Forked code Process Returns: nothing
>> Mojo::IOLoop::ReadWriteProcess::_fork_collect_status(): Forked code Process Errors: 
>> Mojo::IOLoop::ReadWriteProcess::_shutdown(): Shutdown 26194
>> Mojo::IOLoop::ReadWriteProcess::_fork(): Fork: {
    use warnings;
    use strict;
    is process('execute', '/bin/true')->quirkiness(1)->start->wait_stop->exit_status, 0, 'process(execute) from process(code) -- retval check true';
    is process('execute', '/bin/false')->quirkiness(1)->start->wait_stop->exit_status, 1, 'process(execute) from process(code) -- retval check false';
    is process(sub {
        print 'sub-sub-process';
    }
    )->start->wait_stop->read_all_stdout, 'sub-sub-process', 'process(code) works from process(code)';
    print 'DONE';
}
>> Mojo::IOLoop::ReadWriteProcess::_fork_collect_status(): Forked code Process Exit status: 160
>> Mojo::IOLoop::ReadWriteProcess::_fork_collect_status(): Forked code Process Returns: 1
>> Mojo::IOLoop::ReadWriteProcess::_fork_collect_status(): Forked code Process Errors: 
>> Mojo::IOLoop::ReadWriteProcess::_shutdown(): Shutdown 26195
>> Mojo::IOLoop::ReadWriteProcess::_open(): Execute: '/I/do/not/exist'
>> Mojo::IOLoop::ReadWriteProcess::_open(): Execute: 'sleep 0.2'
>> Mojo::IOLoop::ReadWriteProcess::_open_collect_status(): Forked code Process Exit status: 0
>> Mojo::IOLoop::ReadWriteProcess::_open(): Execute: 'perl', '/tmp/loop_over_bdir-1849-28hauj/Mojo-IOLoop-ReadWriteProcess-0.33-0/t/data/simple_rwp.pl'
>> Mojo::IOLoop::ReadWriteProcess::_open_collect_status(): Forked code Process Exit status: 2
>> Mojo::IOLoop::ReadWriteProcess::_shutdown(): Shutdown 26201

    #   Failed test 'simple_rwp.pl exit with 0'
    #   at t/01_run.t line 614.
    #          got: '2'
    #     expected: '0'
>> Mojo::IOLoop::ReadWriteProcess::_open(): Execute: '/tmp/loop_over_bdir-1849-28hauj/Mojo-IOLoop-ReadWriteProcess-0.33-0/t/data/sigchld_handler.pl'
>> Mojo::IOLoop::ReadWriteProcess::_open_collect_status(): Forked code Process Exit status: 0
>> Mojo::IOLoop::ReadWriteProcess::_shutdown(): Shutdown 26202
    # Looks like you failed 1 test of 3.

#   Failed test 'SIG_CHLD handler in spawned process'
#   at t/01_run.t line 625.
# Looks like you failed 1 test of 12.
t/01_run.t ............... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/12 subtests 
t/02_parallel.t .......... ok
Can't use an undefined value as filehandle reference at lib/Mojo/IOLoop/ReadWriteProcess.pm line 298.
t/03_func.t .............. ok
t/04_queues.t ............ ok
t/05_serialize.t ......... ok
t/06_events.t ............ ok
t/07_autodetect.t ........ ok
t/08_ioloop.t ............ ok
t/09_session.t ........... ok
t/10_cgroupv1.t .......... ok
t/10_cgroupv2.t .......... ok
t/11_containers.t ........ skipped: This test works only if you have cgroups permissions
t/12_mocked_container.t .. ok
t/13_shared.t ............ skipped: Skipped unless TEST_SHARED is set

Test Summary Report
-------------------
t/01_run.t             (Wstat: 256 Tests: 12 Failed: 1)
  Failed test:  12
  Non-zero exit status: 1
Files=15, Tests=69, 105 wallclock secs ( 0.11 usr  0.03 sys +  5.71 cusr  0.95 csys =  6.80 CPU)
Result: FAIL
Failed 1/15 test programs. 1/69 subtests failed.

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module          Need   Have    
    --------------- ------ --------
    IPC::SharedMem  0      2.09    
    Mojolicious     0      9.26    

build_requires:

    Module          Need   Have    
    --------------- ------ --------
    Test::Exception 0      0.43    
    Test::More      0      1.302190

configure_requires:

    Module          Need   Have    
    --------------- ------ --------
    Module::Build   0.4005 0.4231  
    perl            5.016  5.034001


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_US.UTF-8
    LANGUAGE = en_US:en
    PATH = /home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 26098
    PERL5_CPAN_IS_RUNNING = 26098
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/bin/zsh
    TERM = screen

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.34.1/cb59/bin/perl
    $UID/$EUID = 1005 / 1005
    $GID = 1005 1005
    $EGID = 1005 1005

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.33    
    CPAN::Meta          2.150010
    Cwd                 3.80    
    ExtUtils::CBuilder  0.280236
    ExtUtils::Command   7.64    
    ExtUtils::Install   2.20    
    ExtUtils::MakeMaker 7.64    
    ExtUtils::Manifest  1.73    
    ExtUtils::ParseXS   3.44    
    File::Spec          3.80    
    JSON                4.05    
    JSON::PP            4.07    
    Module::Build       0.4231  
    Module::Signature   0.88    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.43    
    Test::More          1.302190
    YAML                1.30    
    YAML::Syck          1.34    
    version             0.9929  


--

Summary of my perl5 (revision 5 version 34 subversion 1) configuration:
  Commit id: 1181cf72936404b890ef41362f533fe2c2626f9b
  Platform:
    osname=linux
    osvers=4.9.0-18-amd64
    archname=x86_64-linux-thread-multi-ld
    uname='linux k93stretch 4.9.0-18-amd64 #1 smp debian 4.9.303-1 (2022-03-07) x86_64 gnulinux '
    config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.34.1/cb59 -Dmyhostname=k93stretch -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Duseithreads -Duselongdouble -DEBUGGING=-g'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=define
    usemultiplicity=define
    use64bitint=define
    use64bitall=define
    uselongdouble=define
    usemymalloc=n
    default_inc_excludes_dot=define
  Compiler:
    cc='cc'
    ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
    optimize='-O2 -g'
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='6.3.0 20170516'
    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='long double'
    nvsize=16
    Off_t='off_t'
    lseeksize=8
    alignbytes=16
    prototype=define
  Linker and Libraries:
    ld='cc'
    ldflags =' -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib
    libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.24.so
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.24'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='-Wl,-E'
    cccdlflags='-fPIC'
    lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options:
    HAS_TIMES
    MULTIPLICITY
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_IMPLICIT_CONTEXT
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_DEVEL
    USE_64_BIT_ALL
    USE_64_BIT_INT
    USE_ITHREADS
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_LONG_DOUBLE
    USE_PERLIO
    USE_PERL_ATOF
    USE_REENTRANT_API
    USE_THREAD_SAFE_LOCALE
  Built under linux
  Compiled at Apr  2 2022 08:39:18
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="26098"
    PERL5_CPAN_IS_RUNNING="26098"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.34.1/cb59/lib/site_perl/5.34.1/x86_64-linux-thread-multi-ld
    /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.34.1/cb59/lib/site_perl/5.34.1
    /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.34.1/cb59/lib/5.34.1/x86_64-linux-thread-multi-ld
    /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.34.1/cb59/lib/5.34.1
    .