Loading ...
Sorry, an error occurred while loading the content.
 

make test - 2 failures

Expand Messages
  • Shannon E. Reall
    1. Problem Description: I am having problems getting 2 tests to pass when running make test. I have appended the output below. 2. Used Components and their
    Message 1 of 1 , Sep 1, 2005
      1. Problem Description:

      I am having problems getting 2 tests to pass when running make test. I
      have appended the output below.

      2. Used Components and their Configuration:

      *** mod_perl version 2.000001

      *** using /usr/local/src/web/mod_perl-2.0.1.ser/lib/Apache2/BuildConfig.pm

      *** Makefile.PL options:
      MP_APR_LIB => aprext
      MP_APXS => /usr/local/apache2/bin/apxs
      MP_COMPAT_1X => 1
      MP_GENERATE_XS => 1
      MP_LIBNAME => mod_perl
      MP_USE_DSO => 1


      *** /usr/local/stow/apache-2.0.54/apache2/bin/httpd -V
      Server version: Apache/2.0.54
      Server built: Aug 26 2005 13:13:06
      Server's Module Magic Number: 20020903:9
      Architecture: 32-bit
      Server compiled with....
      -D APACHE_MPM_DIR="server/mpm/prefork"
      -D APR_HAS_SENDFILE
      -D APR_HAS_MMAP
      -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
      -D APR_USE_FCNTL_SERIALIZE
      -D APR_USE_PTHREAD_SERIALIZE
      -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
      -D APR_HAS_OTHER_CHILD
      -D AP_HAVE_RELIABLE_PIPED_LOGS
      -D HTTPD_ROOT="/usr/local/apache2"
      -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
      -D DEFAULT_PIDLOG="logs/httpd.pid"
      -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
      -D DEFAULT_LOCKFILE="logs/accept.lock"
      -D DEFAULT_ERRORLOG="logs/error_log"
      -D AP_TYPES_CONFIG_FILE="conf/mime.types"
      -D SERVER_CONFIG_FILE="conf/httpd.conf"


      *** (apr|apu)-config linking info

      -L/usr/local/apache2/lib -laprutil-0 -lexpat -liconv
      -L/usr/local/apache2/lib -lapr-0 -lsendfile -lrt -lm -lsocket -lnsl
      -lresolv -lpthread
      *** /usr/local/bin/perl -V
      Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
      Platform:
      osname=solaris, osvers=2.9, archname=sun4-solaris
      uname='sunos 5.9 generic sun4u sparc sunw,ultra-5_10 solaris '
      config_args='-Dcc=gcc -B/usr/ccs/bin/'
      hint=recommended, useposix=true, d_sigaction=define
      usethreads=undef use5005threads=undef useithreads=undef
      usemultiplicity=undef
      useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
      use64bitint=undef use64bitall=undef uselongdouble=undef
      usemymalloc=n, bincompat5005=undef
      Compiler:
      cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing -pipe
      -I/usr/local/include -I/opt/gnu/include
      -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
      optimize='-O',
      cppflags='-fno-strict-aliasing -pipe -I/usr/local/include
      -I/opt/gnu/include'
      ccversion='', gccversion='3.3.2', gccosandvers='solaris2.9'
      intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
      d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
      ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
      lseeksize=8
      alignbytes=8, prototype=define
      Linker and Libraries:
      ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib -L/opt/gnu/lib '
      libpth=/usr/local/lib /opt/gnu/lib /usr/lib /usr/ccs/lib
      libs=-lsocket -lbind -lnsl -lgdbm -ldb -ldl -lm -lc
      perllibs=-lsocket -lbind -lnsl -ldl -lm -lc
      libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
      gnulibc_version=''
      Dynamic Linking:
      dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
      cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'


      Characteristics of this binary (from libperl):
      Compile-time options: USE_LARGE_FILES
      Built under solaris
      Compiled at Jul 28 2004 04:13:13
      %ENV:
      PERL_LWP_USE_HTTP_10="1"
      @INC:
      /usr/local/lib/perl5/5.8.5/sun4-solaris
      /usr/local/lib/perl5/5.8.5
      /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
      /usr/local/lib/perl5/site_perl/5.8.5
      /usr/local/lib/perl5/site_perl
      .

      *** Packages of interest status:

      Apache2 : -
      Apache2::Request : -
      CGI : 3.11
      ExtUtils::MakeMaker: 6.17
      LWP : 5.803
      mod_perl : -
      mod_perl2 : -

      This report was generated by t/REPORT on Thu Sep 1 15:32:40 2005 GMT.

      =====

      > make test TEST_VERBOSE=1 TEST_FILES="t/modperl/io_with_closed_stds.t
      t/modperl/sameinterp.t"
      cd "src/modules/perl" && /usr/ccs/bin/make
      /usr/bin/perl -Iblib/arch -Iblib/lib \
      t/TEST -clean
      [warning] Skipping 'set unlimited ulimit for coredumps', since we are
      running as a non-root user on Solaris
      APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=
      APACHE_TEST_USER= APACHE_TEST_APXS= \
      /usr/bin/perl -Iblib/arch -Iblib/lib \
      t/TEST -bugreport -verbose=1 t/modperl/io_with_closed_stds.t
      t/modperl/sameinterp.t
      [warning] Skipping 'set unlimited ulimit for coredumps', since we are
      running as a non-root user on Solaris
      /usr/local/stow/apache-2.0.54/apache2/bin/httpd -d
      /usr/local/src/web/mod_perl-2.0.1.ser/t -f
      /usr/local/src/web/mod_perl-2.0.1.ser/t/conf/httpd.conf -D APACHE2
      using Apache/2.0.54 (prefork MPM)

      waiting 120 seconds for server to start: .[Thu Sep 01 11:36:46 2005]
      [info] 6 Apache2:: modules loaded
      [Thu Sep 01 11:36:46 2005] [info] 0 APR:: modules loaded
      [Thu Sep 01 11:36:46 2005] [info] base server + 27 vhosts ready to run tests
      ..............
      waiting 120 seconds for server to start: ok (waited 14 secs)
      server localhost:8529 started
      server localhost:8530 listening (filter_out_apache)
      server localhost:8531 listening (TestVhost::log)
      server localhost:8532 listening (TestVhost::config)
      server localhost:8533 listening (TestModperl::setupenv)
      server localhost:8534 listening (TestModperl::merge)
      server localhost:8535 listening (TestModperl::perl_options)
      server localhost:8536 listening (TestModules::proxy)
      server localhost:8537 listening (TestUser::rewrite)
      server localhost:8538 listening (TestProtocol::echo_bbs2)
      server localhost:8539 listening (TestProtocol::echo_block)
      server localhost:8540 listening (TestProtocol::echo_timeout)
      server localhost:8541 listening (TestProtocol::pseudo_http)
      server localhost:8542 listening (TestProtocol::echo_filter)
      server localhost:8543 listening (TestProtocol::echo_nonblock)
      server localhost:8544 listening (TestProtocol::echo_bbs)
      server localhost:8545 listening (TestPreConnection::note)
      server localhost:8546 listening (TestHooks::trans)
      server localhost:8547 listening (TestHooks::hookrun)
      server localhost:8548 listening (TestHooks::init)
      server localhost:8549 listening (TestHooks::startup)
      server localhost:8550 listening (TestHooks::stacked_handlers2)
      server localhost:8551 listening (TestFilter::both_str_con_add)
      server localhost:8552 listening (TestFilter::in_bbs_inject_header)
      server localhost:8553 listening (TestFilter::in_bbs_msg)
      server localhost:8554 listening (TestFilter::in_str_msg)
      server localhost:8555 listening (TestDirective::perlmodule)
      server localhost:8556 listening (TestDirective::perlrequire)
      server localhost:8557 listening (TestDirective::perlloadmodule3)
      server localhost:8558 listening (TestDirective::perlloadmodule5)
      server localhost:8559 listening (TestDirective::perlloadmodule4)
      server localhost:8560 listening (TestDirective::perlloadmodule6)
      server localhost:8561 listening (TestHooks::push_handlers_anon)
      t/modperl/io_with_closed_stds....request has failed (the response code
      was: 500)
      see t/logs/error_log for more details
      dubious
      Test returned status 29 (wstat 7424, 0x1d00)
      t/modperl/sameinterp.............1..12
      # Running under perl version 5.008005 for solaris
      # Current time local: Thu Sep 1 11:37:03 2005
      # Current time GMT: Thu Sep 1 15:37:03 2005
      # Using Test.pm version 1.25
      # Using Apache/Test.pm version 1.25
      ok 1
      # testing : GET over the same interp
      # expected: 2
      # received: 3
      # Failed test 2 in t/modperl/sameinterp.t at line 29
      not ok 2
      # testing : GET over the same interp
      # expected: 3
      # received: 5
      # Failed test 3 in t/modperl/sameinterp.t at line 29 fail #2
      not ok 3
      ok 4
      # testing : GET over the same interp
      # expected: 2
      # Failed test 5 in t/modperl/sameinterp.t at line 29 fail #3
      # received: 3
      not ok 5
      # testing : GET over the same interp
      # Failed test 6 in t/modperl/sameinterp.t at line 29 fail #4
      # expected: 3
      # received: 5
      not ok 6
      ok 7
      # testing : POST over the same interp
      # Failed test 8 in t/modperl/sameinterp.t at line 51
      # expected: 2
      # received: 3
      not ok 8
      # testing : POST over the same interp
      # expected: 3
      # received: 5
      # Failed test 9 in t/modperl/sameinterp.t at line 51 fail #2
      not ok 9
      ok 10
      # testing : HEAD over the same interp
      # expected: 431720225ea411c2
      # received: 431720225ea411c2
      ok 11
      # testing : HEAD over the same interp
      # expected: 431720225ea411c2
      # received: 431720225ea411c2
      ok 12
      FAILED tests 2-3, 5-6, 8-9
      Failed 6/12 tests, 50.00% okay
      Failed Test Stat Wstat Total Fail Failed List of
      Failed
      -------------------------------------------------------------------------------
      t/modperl/io_with_closed_stds.t 29 7424 ?? ?? % ??
      t/modperl/sameinterp.t 12 6 50.00% 2-3 5-6 8-9
      Failed 2/2 test scripts, 0.00% okay. 6/12 subtests failed, 50.00% okay.
      [warning] server localhost:8529 shutdown
      [ error] error running tests (please examine t/logs/error_log)
      +--------------------------------------------------------+
      | Please file a bug report: http://perl.apache.org/bugs/ |
      +--------------------------------------------------------+
      *** Error code 1
      make: Fatal error: Command failed for target `run_tests'

      ===

      > more t/logs/error_log
      [Thu Sep 01 11:36:50 2005] [info] mod_unique_id: using ip addr 130.44.1.32
      [Thu Sep 01 11:36:51 2005] [info] Init: Initializing OpenSSL library
      [Thu Sep 01 11:36:51 2005] [info] Init: Seeding PRNG with 0 bytes of entropy
      [Thu Sep 01 11:36:51 2005] [info] Init: Generating temporary RSA private keys (512/1024 bits)
      [Thu Sep 01 11:36:52 2005] [info] Init: Generating temporary DH parameters (512/1024 bits)
      [Thu Sep 01 11:36:52 2005] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
      [Thu Sep 01 11:36:52 2005] [info] Init: Initializing (virtual) servers for SSL
      [Thu Sep 01 11:36:52 2005] [info] Server: Apache/2.0.54, Interface: mod_ssl/2.0.54, Library: OpenSSL/0.9.7
      g
      [Thu Sep 01 11:36:52 2005] [info] mod_limitipconn 0.22 started.
      END in modperl_extra.pl, pid=24212
      [Thu Sep 01 11:36:57 2005] [info] mod_unique_id: using ip addr 130.44.1.32
      [Thu Sep 01 11:36:58 2005] [info] Init: Initializing OpenSSL library
      [Thu Sep 01 11:36:58 2005] [info] Init: Seeding PRNG with 0 bytes of entropy
      [Thu Sep 01 11:36:58 2005] [info] Init: Generating temporary RSA private keys (512/1024 bits)
      [Thu Sep 01 11:36:59 2005] [info] Init: Generating temporary DH parameters (512/1024 bits)
      [Thu Sep 01 11:36:59 2005] [info] Init: Initializing (virtual) servers for SSL
      [Thu Sep 01 11:36:59 2005] [info] Server: Apache/2.0.54, Interface: mod_ssl/2.0.54, Library: OpenSSL/0.9.7
      g
      [Thu Sep 01 11:36:59 2005] [info] mod_limitipconn 0.22 started.
      [Thu Sep 01 11:37:00 2005] [notice] Apache/2.0.54 (Unix) world domination series/2.0 PHP/4.4.0 mod_ssl/2.0
      .54 OpenSSL/0.9.7g DAV/2 mod_perl/2.0.1 Perl/v5.8.5 configured -- resuming normal operations
      [Thu Sep 01 11:37:00 2005] [info] Server built: Aug 26 2005 13:13:06
      [Thu Sep 01 11:37:00 2005] [debug] prefork.c(956): AcceptMutex: fcntl (default: fcntl)
      [Thu Sep 01 11:37:03 2005] [error] [client 127.0.0.1] Can't dup STDIN: Bad file number at /usr/local/src/w
      eb/mod_perl-2.0.1.ser/t/response/TestModperl/io_with_closed_stds.pm line 30.\n
      [Thu Sep 01 11:37:03 2005] [error] [client 127.0.0.1] Can't dup OLDIN: Bad file number at /usr/local/src/w
      eb/mod_perl-2.0.1.ser/t/response/TestModperl/io_with_closed_stds.pm line 52.\n
      [Thu Sep 01 11:37:03 2005] [error] [client 127.0.0.1] Can't dup OLDIN: Bad file number at /usr/local/src/w
      eb/mod_perl-2.0.1.ser/t/response/TestModperl/io_with_closed_stds.pm line 52.\n
      [Thu Sep 01 11:37:06 2005] [info] Child process pid=24228 is exiting
      [Thu Sep 01 11:37:06 2005] [info] Child process pid=24227 is exiting
      [Thu Sep 01 11:37:06 2005] [info] Child process pid=24228 is exiting - server push
      [Thu Sep 01 11:37:06 2005] [info] Child process pid=24227 is exiting - server push
      END in modperl_extra.pl, pid=24228
      END in modperl_extra.pl, pid=24227
      [Thu Sep 01 11:37:06 2005] [info] removed PID file /usr/local/src/web/mod_perl-2.0.1.ser/t/logs/httpd.pid
      (pid=24219)
      [Thu Sep 01 11:37:06 2005] [notice] caught SIGTERM, shutting down
      END in modperl_extra.pl, pid=24219


      Thanks for any help you can provide.

      --
      Shannon
    Your message has been successfully submitted and would be delivered to recipients shortly.