Re: Apache test suite problems
On Mon, Jan 25, 2010 at 9:52 PM, leon llw...@novell.com wrote: Hi Jeff, Sorry, I didn't get this reply mail. I found your reply during googling a solution... http://mail-archives.apache.org/mod_mbox/httpd-dev/201001.mbox/% 3ccc67648e1001250459t423605fekcd3b57dcf99e7...@mail.gmail.com%3e Amazing power of google :) On Sun, Jan 24, 2010 at 10:31 PM, leon llw...@novell.com wrote: Hi there, Please don't cc me. I am using SuSE Linux Enterprise Server 11 I checked out the latest code # svn checkout http://svn.apache.org/repos/asf/httpd/test/framework/trunk/ httpd-framework Then I followed the quick start in README # perl Makefile.PL -apxs /usr/sbin/apxs2 # t/TEST But I got following error: [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /home/leon/project/httpd-framework/t/TEST /usr/sbin/httpd2-prefork -d /home/leon/project/httpd-framework/t -f /home/leon/project/httpd-framework/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS using Apache/2.2.13 (prefork MPM) no error there waiting 60 seconds for server to start: .Syntax error on line 170 of /home/leon/project/httpd-framework/t/conf/httpd.conf: Invalid command 'IfVersion', perhaps misspelled or defined by a module not included in the server configuration [error] server has died with status 255 (t/logs/error_log wasn't created, start the server in the debug mode) After I added following 3 lines into /home/leon/project/httpd-framework/t/conf/httpd.conf, the test can work. IfModule !mod_version.c LoadModule version_module /usr/lib/apache2-prefork/mod_version.so /IfModule Right, the test suite requires mod_version for testing httpd 2.0 or above. But there still a lot of mod missed. So lots of test skipped or failed. Can you show us the output? Generally a missing Perl CPAN module or httpd module will result in skipped tests but not failures; perhaps some very basic modules are missing. l...@linux-92el:~/work/apache_testsuite t/TEST [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /home/leon/work/apache_testsuite/t/TEST /usr/sbin/httpd2-prefork -d /home/leon/work/apache_testsuite/t -f /home/leon/work/apache_testsuite/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS using Apache/2.2.13 (prefork 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 (proxy_http_bal1) server localhost:8536 listening (proxy_http_bal2) server localhost:8537 listening (proxy_http_balancer) server localhost:8538 listening (proxy_http_reverse) server localhost:8539 listening (error_document) server localhost:8540 listening (mod_include) server localhost:8541 listening (proxy_http_https) server localhost:8542 listening (proxy_https_https) server localhost:8543 listening (proxy_https_http) [ info] adding source lib /home/leon/work/apache_testsuite/Apache-Test/lib to @INC [ info] adding source lib /home/leon/work/apache_testsuite/Apache-Test/lib to @INC [ info] adding source lib /home/leon/work/apache_testsuite/Apache-Test/lib to @INC t/apache/404ok t/apache/acceptpathinfo.ok t/apache/byterange..ok t/apache/byterange2.ok t/apache/chunkinput.ok t/apache/contentlength..ok t/apache/errordoc...ok t/apache/etags..ok t/apache/getfileok t/apache/headersok t/apache/limits.ok t/apache/optionsok t/apache/passbrigadeok t/apache/post...ok t/apache/pr18757skipped all skipped: cannot find module 'proxy' t/apache/pr35292ok t/apache/pr35330ok t/apache/pr37166ok t/apache/rwrite.ok t/apr/uri...ok t/filter/case...skipped all skipped: cannot find module 'case_filter' t/filter/case_inskipped all skipped: cannot find module 'case_filter_in' t/filter/input_body.ok t/http11/basicauth..ok t/http11/chunkedok t/http11/chunked2...skipped all skipped: cannot find module 'bucketeer' t/http11/post...ok t/modules/accessok t/modules/alias.ok t/modules/asis..skipped all skipped: cannot find module 'asis' t/modules/autoindex.ok t/modules/autoindex2ok t/modules/cache.skipped all skipped: cannot find module 'cache', cannot find module 'disk_cache' t/modules/cgi...ok t/modules/dav...skipped all skipped: cannot find module 'dav',
Re: Apache test suite problems
On Sun, Jan 24, 2010 at 10:31 PM, leon llw...@novell.com wrote: Hi there, Please don't cc me. I am using SuSE Linux Enterprise Server 11 I checked out the latest code # svn checkout http://svn.apache.org/repos/asf/httpd/test/framework/trunk/ httpd-framework Then I followed the quick start in README # perl Makefile.PL -apxs /usr/sbin/apxs2 # t/TEST But I got following error: [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /home/leon/project/httpd-framework/t/TEST /usr/sbin/httpd2-prefork -d /home/leon/project/httpd-framework/t -f /home/leon/project/httpd-framework/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS using Apache/2.2.13 (prefork MPM) no error there waiting 60 seconds for server to start: .Syntax error on line 170 of /home/leon/project/httpd-framework/t/conf/httpd.conf: Invalid command 'IfVersion', perhaps misspelled or defined by a module not included in the server configuration [ error] server has died with status 255 (t/logs/error_log wasn't created, start the server in the debug mode) After I added following 3 lines into /home/leon/project/httpd-framework/t/conf/httpd.conf, the test can work. IfModule !mod_version.c LoadModule version_module /usr/lib/apache2-prefork/mod_version.so /IfModule Right, the test suite requires mod_version for testing httpd 2.0 or above. But there still a lot of mod missed. So lots of test skipped or failed. Can you show us the output? Generally a missing Perl CPAN module or httpd module will result in skipped tests but not failures; perhaps some very basic modules are missing.
apache test suite
Is this the software that the apache team uses to test new apache releases?
Re: apache test suite
Wood, Bryan wrote: Is this the software that the apache team uses to test new apache releases? It's used by httpd-dev, mod_perl projects and other 3rd party modules. For more info see: http://perl.apache.org/docs/general/testing/testing.html __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
RE: apache test suite
What is used by the apache team to test the webserver thoroughly? I need to test it on a new embedded device and having the test suite they use would save a lot of time. -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 12:25 PM To: [EMAIL PROTECTED] Subject: Re: apache test suite Wood, Bryan wrote: Is this the software that the apache team uses to test new apache releases? It's used by httpd-dev, mod_perl projects and other 3rd party modules. For more info see: http://perl.apache.org/docs/general/testing/testing.html __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
Re: apache test suite
Wood, Bryan wrote: What is used by the apache team to test the webserver thoroughly? I need to test it on a new embedded device and having the test suite they use would save a lot of time. Apache-Test, flood and specweb99, have you looked at: http://httpd.apache.org/test/ Is this the software that the apache team uses to test new apache releases? It's used by httpd-dev, mod_perl projects and other 3rd party modules. For more info see: http://perl.apache.org/docs/general/testing/testing.html __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
RE: apache test suite
Yes I have, but I can't get apache-test to run on my desktop machine. There are always problems in the httpd.conf file it generates. Of course I checked it out of cvs so I might just need to check it out again. Certainly the apache team has things all setup so they can just run a script and wait for their results when they need to do a full test on apache? -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 12:44 PM To: [EMAIL PROTECTED] Subject: Re: apache test suite Wood, Bryan wrote: What is used by the apache team to test the webserver thoroughly? I need to test it on a new embedded device and having the test suite they use would save a lot of time. Apache-Test, flood and specweb99, have you looked at: http://httpd.apache.org/test/ Is this the software that the apache team uses to test new apache releases? It's used by httpd-dev, mod_perl projects and other 3rd party modules. For more info see: http://perl.apache.org/docs/general/testing/testing.html __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
Re: apache test suite
Wood, Bryan wrote: Yes I have, but I can't get apache-test to run on my desktop machine. There are always problems in the httpd.conf file it generates. If you don't tell us what the problems are... we can't fix them... Of course I checked it out of cvs so I might just need to check it out again. Certainly the apache team has things all setup so they can just run a script and wait for their results when they need to do a full test on apache? Yup. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
Re: apache test suite
Wood, Bryan wrote: -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 2:26 PM To: [EMAIL PROTECTED] Subject: Re: apache test suite Wood, Bryan wrote: Yes I have, but I can't get apache-test to run on my desktop machine. There are always problems in the httpd.conf file it generates. If you don't tell us what the problems are... we can't fix them... ~/httpd-test/perl-framework$ t/TEST -start-httpd *** setting ulimit to allow core files ulimit -c unlimited; t/TEST -start-httpd /usr/sbin/httpd -X -d /home/xf012502/httpd-test/perl-framework/t -f /home/xf012502/httpd-test/perl-framework/t/conf/httpd.conf -DAPACHE1 using Apache/1.3.27 waiting for server to start: .Syntax error on line 70 of /home/xf012502/httpd-test/perl-framework/t/conf/httpd.conf: Invalid command 'SetHandler', perhaps mis-spelled or defined by a module not included in the server configuration !!! server has died with status 1 (t/logs/error_log wasn't created, start the server in the debug mode) ~/httpd-test/perl-framework$ Since you didn't bother (or didn't know that you should ;) to tell us what do you have on line 70th, I'd guess that it's: Location /server-info SetHandler server-info /Location it's on a different line in my t/conf/httpd.conf, since it varies from setup to setup. SetHandler is provided by the core, so I don't know why does fail for you. I doubt this has anything to do with Apache-Test. Can you use httpd normally? Can you please show us the first 80 lines of t/conf/httpd.conf? Of course I checked it out of cvs so I might just need to check it out again. Certainly the apache team has things all setup so they can just run a script and wait for their results when they need to do a full test on apache? Yup. Can I have it? (: Oh, you mean whether we have some magical script that makes things work for us but not for you? Nothing at all ;) __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
RE: apache test suite
-Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 3:03 PM To: [EMAIL PROTECTED] Subject: Re: apache test suite Wood, Bryan wrote: -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 2:26 PM To: [EMAIL PROTECTED] Subject: Re: apache test suite Wood, Bryan wrote: Yes I have, but I can't get apache-test to run on my desktop machine. There are always problems in the httpd.conf file it generates. If you don't tell us what the problems are... we can't fix them... ~/httpd-test/perl-framework$ t/TEST -start-httpd *** setting ulimit to allow core files ulimit -c unlimited; t/TEST -start-httpd /usr/sbin/httpd -X -d /home/xf012502/httpd-test/perl-framework/t -f /home/xf012502/httpd-test/perl-framework/t/conf/httpd.conf -DAPACHE1 using Apache/1.3.27 waiting for server to start: .Syntax error on line 70 of /home/xf012502/httpd-test/perl-framework/t/conf/httpd.conf: Invalid command 'SetHandler', perhaps mis-spelled or defined by a module not included in the server configuration !!! server has died with status 1 (t/logs/error_log wasn't created, start the server in the debug mode) ~/httpd-test/perl-framework$ Since you didn't bother (or didn't know that you should ;) to tell us what do you have on line 70th, I'd guess that it's: Location /server-info SetHandler server-info /Location it's on a different line in my t/conf/httpd.conf, since it varies from setup to setup. SetHandler is provided by the core, so I don't know why does fail for you. I doubt this has anything to do with Apache-Test. Can you use httpd normally? Can you please show us the first 80 lines of t/conf/httpd.conf? # WARNING: this file is generated, do not edit # 01: /home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.p m:743 # 02: /home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.p m:761 # 03: /home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.p m:1286 # 04: /home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm:4 08 # 05: /home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm:5 89 # 06: /home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm:5 89 # 07: t/TEST:20 Usernobody Groupxf012502 ServerName localhost Port 8529 Listen 8529 ServerRoot /home/xf012502/httpd-test/perl-framework/t DocumentRoot /home/xf012502/httpd-test/perl-framework/t/htdocs PidFile /home/xf012502/httpd-test/perl-framework/t/logs/httpd.pid ErrorLog/home/xf012502/httpd-test/perl-framework/t/logs/error_log LogLeveldebug IfModule mod_log_config.c TransferLog /home/xf012502/httpd-test/perl-framework/t/logs/access_log /IfModule ServerAdmin [EMAIL PROTECTED] #needed for http/1.1 testing KeepAlive On HostnameLookups Off Directory / Options FollowSymLinks AllowOverride None /Directory IfModule worker.c StartServers 1 MaxClients 1 MinSpareThreads 1 MaxSpareThreads 1 ThreadsPerChild 1 MaxRequestsPerChild 0 /IfModule IfModule perchild.c NumServers 1 StartThreads 1 MinSpareThreads 1 MaxSpareThreads 1 MaxThreadsPerChild 1 MaxRequestsPerChild 0 /IfModule IfModule prefork.c StartServers 1 MaxClients 1 MaxRequestsPerChild 0 /IfModule IfModule mpm_winnt.c ThreadsPerChild 20 MaxRequestsPerChild 0 /IfModule Location /server-info SetHandler server-info /Location Location /server-status SetHandler server-status /Location Alias /getfiles-perl-pod /usr/lib/perl5/5.6.1/pod Alias /getfiles-binary-httpd /usr/sbin/httpd Alias /getfiles-binary-perl /usr/bin/perl TypesConfig /home/xf012502/httpd-test/perl-framework/t/conf/mime.types Include /home/xf012502/httpd-test/perl-framework/t/conf/extra.conf Include /home/xf012502/httpd-test/perl-framework/t/conf/include.conf Include /home/xf012502/httpd-test/perl-framework/t/conf/proxy.conf Include /home/xf012502/httpd-test/perl-framework/t/conf/ssl/proxyssl.conf Include /home/xf012502/httpd-test/perl-framework/t/conf/ssl/ssl.conf Include /home/xf012502/httpd-test/perl-framework/t/conf/vhost_alias.conf Of course I checked it out of cvs so I might just need to check it out again. Certainly the apache team has things all setup so they can just run a script and wait for their results when they need to do a full test on apache? Yup. Can I have it? (: Oh, you mean whether we have some magical script that makes things work for us but not for you? Nothing at all ;) well maybe not a magical script, but I'm sure you don't run it manually every time you want to test apache. I need something that will test all the functionality of the webserver, including ssl. __ Stas
Re: apache test suite
I wrote a test suite in Tcl for the Rivet project that works pretty well. It's fairly minimalistic, but it works and doesn't require much setup. It would certainly require some adaptation to make it work with your own system. It is aimed at Rivet, not Apache, although I think it's reasonably flexible... Ciao, -- David N. Welton Consulting: http://www.dedasys.com/ Personal: http://www.dedasys.com/davidw/ Free Software: http://www.dedasys.com/freesoftware/ Apache Tcl: http://tcl.apache.org/
Re: apache test suite?
On Sat, 12 Oct 2002, David Burry wrote: Has anyone worked on an Apache test suite? You know, like how many things have a make test that runs all sorts of tests... or perhaps a separate package that runs tests... I might be interested in starting one but would rather build upon other's work if some of it has already been done... See the httpd-test repository. :)
Re: apache test suite?
look at httpd-test. Ryan On Sat, 12 Oct 2002, David Burry wrote: Has anyone worked on an Apache test suite? You know, like how many things have a make test that runs all sorts of tests... or perhaps a separate package that runs tests... I might be interested in starting one but would rather build upon other's work if some of it has already been done... Dave -- ___ Ryan Bloom [EMAIL PROTECTED] 550 Jean St Oakland CA 94610 ---
Re: apache test suite?
sorry folks, I knew it would be that easy, I should have looked more closely at the web site too ;o) Dave - Original Message - From: Cliff Woolley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, October 12, 2002 9:50 PM Subject: Re: apache test suite? On Sat, 12 Oct 2002, David Burry wrote: Has anyone worked on an Apache test suite? You know, like how many things have a make test that runs all sorts of tests... or perhaps a separate package that runs tests... I might be interested in starting one but would rather build upon other's work if some of it has already been done... See the httpd-test repository. :)
apache test suite?
Has anyone worked on an Apache test suite? You know, like how many things have a make test that runs all sorts of tests... or perhaps a separate package that runs tests... I might be interested in starting one but would rather build upon other's work if some of it has already been done... Dave