httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Eissing <stefan.eiss...@greenbytes.de>
Subject Re: Recommended version of Perl for test framework
Date Wed, 22 Jul 2015 08:19:03 GMT
My OS X setup, may it help find the cause of problems:

- httpd/trunk built with prefix/opt/apachte-trunk
  with --*really*-build-and-load-all-modules and then
  all but one mpm commented out
- test/framework/trunk build with /opt/apache-trunk/bin/apxs
  all extra modules installed/updated with perl -MCPAN -e 'install XXX'
- Test configuration called with
   PATH=/opt/apache-trunk/bin/:$PATH t/TEST 
  as it needs to find the correct openssl binary
- test suite result is PASS

--------------- perl -V -------------------------------------
Summary of my perl5 (revision 5 version 18 subversion 2) configuration:
   
  Platform:
    osname=darwin, osvers=14.0, archname=darwin-thread-multi-2level
    uname='darwin glow.apple.com 14.0 darwin kernel version 14.0.0: tue aug 19 19:20:45 pdt
2014; root:xnu-2782.1.85~1development_x86_64 x86_64 '
    config_args='-ds -e -Dprefix=/usr -Dccflags=-g  -pipe  -Dldflags= -Dman3ext=3pm -Duseithreads
-Duseshrplib -Dinc_version_list=none -Dcc=cc'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing
-fstack-protector',
    optimize='-Os',
    cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector'
    ccversion='', gccversion='4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)', 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 -mmacosx-version-min=10.10', ldflags ='-arch x86_64 -arch i386 -fstack-protector'
    libpth=/usr/lib /usr/local/lib
    libs= 
    perllibs=
    libc=, so=dylib, useshrplib=true, libperl=libperl.dylib
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-arch x86_64 -arch i386 -bundle -undefined dynamic_lookup -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_PRESERVE_IVUV PERL_SAWAMPERSAND 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
  Locally applied patches:
	/Library/Perl/Updates/<version> comes before system perl directories
	installprivlib and installarchlib points to the Updates directory
  Built under darwin
  Compiled at Sep  9 2014 18:59:52
  %ENV:
    PERL_MB_OPT="--install_base "/Users/sei/perl5""
    PERL_MM_OPT="INSTALL_BASE=/Users/sei/perl5"
  @INC:
    /Library/Perl/5.18/darwin-thread-multi-2level
    /Library/Perl/5.18
    /Network/Library/Perl/5.18/darwin-thread-multi-2level
    /Network/Library/Perl/5.18
    /Library/Perl/Updates/5.18.2/darwin-thread-multi-2level
    /Library/Perl/Updates/5.18.2
    /System/Library/Perl/5.18/darwin-thread-multi-2level
    /System/Library/Perl/5.18
    /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level
    /System/Library/Perl/Extras/5.18
    .

--------------- test output ---------------------------------
using Apache/2.5.0-dev (worker MPM)

waiting 60 seconds for server to start: .
waiting 60 seconds for server to start: ok (waited 0 secs)
server localhost:8529 started
server localhost:8530 listening (mod_nntp_like)
server localhost:8531 listening (mod_nntp_like_ssl)
server localhost:8532 listening (mod_ssl)
server localhost:8533 listening (ssl_optional_cc)
server localhost:8534 listening (ssl_pr33791)
server localhost:8535 listening (mod_cache)
server localhost:8536 listening (cve_2011_3368_rewrite)
server localhost:8537 listening (proxy_http_reverse)
server localhost:8538 listening (cve_2011_3368)
server localhost:8539 listening (mod_headers)
server localhost:8540 listening (mod_echo)
server localhost:8541 listening (mod_echo_ssl)
server localhost:8542 listening (error_document)
server localhost:8543 listening (http_strict)
server localhost:8544 listening (mod_include)
server localhost:8545 listening (mod_proxy)
server localhost:8546 listening (proxy_http_bal1)
server localhost:8547 listening (proxy_http_bal2)
server localhost:8548 listening (proxy_http_balancer)
server localhost:8549 listening (mod_vhost_alias)
server localhost:8550 listening (proxy_http_https)
server localhost:8551 listening (proxy_https_https)
server localhost:8552 listening (proxy_https_http)
[   info] adding source lib /Users/sei/projects/httpd/test/framework/trunk/Apache-Test/lib
to @INC
t/apache/404.t ...................... ok   
t/apache/acceptpathinfo.t ........... ok     
t/apache/byterange.t ................ ok     
t/apache/byterange2.t ............... ok   
t/apache/byterange3.t ............... ok     
t/apache/byterange4.t ............... ok     
t/apache/byterange5.t ............... ok   
t/apache/byterange6.t ............... ok    
t/apache/byterange7.t ............... ok    
t/apache/cfg_getline.t .............. ok       
t/apache/chunkinput.t ............... ok     
t/apache/contentlength.t ............ ok     
t/apache/errordoc.t ................. ok     
t/apache/etags.t .................... ok    
t/apache/expr.t ..................... ok       
t/apache/expr_string.t .............. ok     
t/apache/getfile.t .................. ok     
t/apache/headers.t .................. ok     
t/apache/http_strict.t .............. 1/85 # Failed test 25 in t/apache/http_strict.t at line
174 fail #15 *TODO*
# Failed test 26 in t/apache/http_strict.t at line 174 fail #16 *TODO*
t/apache/http_strict.t .............. ok     
t/apache/if_sections.t .............. ok     
t/apache/limits.t ................... ok     
t/apache/loglevel.t ................. ok   
t/apache/maxranges.t ................ ok    
t/apache/mmn.t ...................... ok   
t/apache/options.t .................. ok   
t/apache/passbrigade.t .............. ok     
t/apache/post.t ..................... ok    
t/apache/pr17629.t .................. ok   
t/apache/pr18757.t .................. ok   
t/apache/pr35292.t .................. ok   
t/apache/pr35330.t .................. ok   
t/apache/pr37166.t .................. ok   
t/apache/pr43939.t .................. ok   
t/apache/pr49328.t .................. ok   
t/apache/rwrite.t ................... ok     
t/apache/server_name_port.t ......... ok     
t/apr/uri.t ......................... ok   
t/filter/case.t ..................... ok   
t/filter/case_in.t .................. ok   
t/filter/input_body.t ............... ok   
t/http11/basicauth.t ................ ok   
t/http11/chunked.t .................. ok     
t/http11/chunked2.t ................. ok   
t/http11/post.t ..................... ok    
t/modules/aaa.t ..................... ok     
t/modules/access.t .................. ok       
t/modules/alias.t ................... ok       
t/modules/asis.t .................... ok   
t/modules/authz_core.t .............. ok       
t/modules/autoindex.t ............... ok     
t/modules/autoindex2.t .............. ok   
t/modules/cache.t ................... ok   
t/modules/cgi.t ..................... ok     
t/modules/dav.t ..................... ok     
t/modules/deflate.t ................. ok     
t/modules/digest.t .................. ok     
t/modules/dir.t ..................... ok       
t/modules/directorymatch.t .......... ok   
t/modules/env.t ..................... ok   
t/modules/expires.t ................. ok     
t/modules/filter.t .................. ok   
t/modules/h2.t ...................... ok     
t/modules/headers.t ................. ok       
t/modules/include.t ................. ok     
t/modules/info.t .................... ok   
t/modules/lua.t ..................... skipped: cannot find module 'lua'
t/modules/negotiation.t ............. ok     
t/modules/proxy.t ................... ok     
t/modules/proxy_balancer.t .......... ok   
t/modules/rewrite.t ................. ok     
t/modules/setenvif.t ................ ok       
t/modules/status.t .................. ok   
t/modules/substitute.t .............. ok     
t/modules/unique_id.t ............... ok       
t/modules/vhost_alias.t ............. ok   
t/php/all.t ......................... skipped: cannot find one of php4 or php5 or sapi_apache2.c
t/protocol/echo.t ................... ok   
t/protocol/nntp-like.t .............. skipped: deferred accept() prohibits testing with >=2.1.0
and OS darwin
t/security/CVE-2003-0542.t .......... ok   
t/security/CVE-2004-0747.t .......... ok   
t/security/CVE-2004-0811.t .......... ok   
t/security/CVE-2004-0940.t .......... ok   
t/security/CVE-2004-0942.t .......... ok   
t/security/CVE-2004-0958.t .......... skipped: cannot find one of php4 or php5 or sapi_apache2.c
t/security/CVE-2004-0959.t .......... skipped: cannot find one of php4 or php5 or sapi_apache2.c,
PHP not installed
t/security/CVE-2005-2491.t .......... ok   
t/security/CVE-2005-2700.t .......... ok   
t/security/CVE-2005-3352.t .......... ok   
t/security/CVE-2005-3357.t .......... ok   
t/security/CVE-2006-5752.t .......... ok   
t/security/CVE-2007-5000.t .......... ok   
t/security/CVE-2007-6388.t .......... ok   
t/security/CVE-2008-2364.t .......... ok   
t/security/CVE-2009-1195.t .......... ok       
t/security/CVE-2009-1890.t .......... ok   
t/security/CVE-2009-3555.t .......... ok   
t/security/CVE-2011-3368-rewrite.t .. ok   
t/security/CVE-2011-3368.t .......... ok   
t/ssl/basicauth.t ................... ok   
t/ssl/env.t ......................... ok     
t/ssl/extlookup.t ................... ok   
t/ssl/fakeauth.t .................... ok   
t/ssl/headers.t ..................... ok   
t/ssl/http.t ........................ ok   
t/ssl/pr12355.t ..................... ok     
t/ssl/pr43738.t ..................... ok   
t/ssl/proxy.t ....................... ok     
t/ssl/require.t ..................... ok     
t/ssl/v2.t .......................... skipped: SSLv2 test(s) not applicable
t/ssl/varlookup.t ................... ok     
t/ssl/verify.t ...................... ok   
All tests successful.
Files=111, Tests=5240, 129 wallclock secs ( 2.19 usr  0.36 sys + 45.46 cusr 17.83 csys = 65.84
CPU)
Result: PASS
[warning] server localhost:8529 shutdown
> Am 21.07.2015 um 23:19 schrieb Rainer Jung <rainer.jung@kippdata.de>:
> 
> Am 21.07.2015 um 23:14 schrieb Kevin A. McGrail:
>> On 7/21/2015 4:57 PM, Jim Jagielski wrote:
>>> Hmmm Wondering if this is due to:
>>> 
>>>   Test::LeakTrace [build_requires]
>>>   Test::TCP [build_requires]
>>> 
>>> Anyway, this is on OSX, fwiw.
>>> 
>>> This seems dependent on the Macports port(s) of perl...
>>> Using the system perl doesn't seem to have this issue...
>>> 
>> Any possibility the Macports ver uses a different compiler?
> 
> perl -V
> 
> would show the details.
> 
> Rainer
> 

<green/>bytes GmbH
Hafenweg 16, 48155 Münster, Germany
Phone: +49 251 2807760. Amtsgericht Münster: HRB5782




Mime
View raw message