toddr / Net-Daemon

Read-only release history for Net-Daemon
http://metacpan.org/release/Net-Daemon
0 stars 0 forks source link

Net-Daemon 0.48 t/unix.t [rt.cpan.org #101207] #6

Closed toddr closed 3 years ago

toddr commented 3 years ago

Migrated from rt.cpan.org#101207 (status was 'new')

Requestors:

From w.maleska@gmail.com on 2014-12-30 16:22:53 :

Net-Damon occasionally fails the following test case.

cp lib/Net/Daemon/Test.pm blib/lib/Net/Daemon/Test.pm
Skip blib/lib/Net/Daemon/Log.pm (unchanged)
Skip blib/lib/Net/Daemon.pm (unchanged)
Manifying blib/man3/Net::Daemon.3
Manifying blib/man3/Net::Daemon::Log.3
Manifying blib/man3/Net::Daemon::Test.3
PERL_DL_NONLAZY=1 /project/scm/opt/linux/perl-5.20.1/bin/perl
"-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
*Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base.t ........ ok
t/config.t ...... ok
t/fork.t ........ ok
t/forkm.t ....... ok
t/ithread.t ..... 1/? Perl exited with active threads:
        0 running and unjoined
        1 finished and unjoined
        0 running and detached
t/ithread.t ..... ok
t/ithreadm.t .... ok
t/loop-child.t .. ok
t/loop.t ........ ok
t/single.t ...... ok
t/thread.t ...... Using Perl version 5.20
        Old threads style supplanted by ithreads after Perl version 5.10
t/thread.t ...... skipped: Using Perl version 5.20
t/threadm.t ..... ok
t/unix.t ........ Unexpected return from Bind().
Server died: Cannot create socket: Permission denied at
blib/lib/Net/Daemon/Test.pm line 192.

Server process didn't create a file 'ndtest.prt'. at
/vob/scmdev/src/opt/perl/build/Net-Daemon-0.48/blib/lib/Net/Daemon/Test.pm
line 317.
t/unix.t ........ Failed 5/5 subtests

Test Summary Report
-------------------
t/unix.t      (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: Bad plan.  You planned 5 tests but ran 0.
Files=12, Tests=63, 87 wallclock secs ( 0.12 usr  0.02 sys +  1.78 cusr
0.61 csys =  2.53 CPU)
Result: FAIL
Failed 1/12 test programs. 0/63 subtests failed.

My Perl configuration/compilationj flags
 perl -V
Summary of my perl5 (revision 5 version 20 subversion 1) configuration:

  Platform:
    osname=linux, osvers=2.6.18-238.el5, archname=x86_64-linux-thread-multi
    uname='linux servername 2.6.18-238.el5 #1 smp sun dec 19 14:22:44 est
2010 x86_64 x86_64 x86_64 gnulinux '
    config_args='-des -Dprefix=/some/local/path -Dcc=gcc -Dusethreads
-Duserelocatableinc -Dusesitecustomize'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-50)',
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='gcc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib /lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.5'
  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'

Characteristics of this binary (from libperl):
  Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                        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_PERLIO
                        USE_PERL_ATOF USE_REENTRANT_API USE_SITECUSTOMIZE
  Built under linux
toddr commented 3 years ago

I cannot reproduce this error at this time.