[Bug 486494] New: mod_perl2 does not run the test
https://bugzilla.novell.com/show_bug.cgi?id=486494 Summary: mod_perl2 does not run the test Classification: openSUSE Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Apache AssignedTo: bnc-team-apache@forge.provo.novell.com ReportedBy: lists@oliver-block.eu QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-0.1 Firefox/3.0.6 mod_perl2 does not run test when compiling apache2_mod-per.src.rpm. Reproducible: Always Steps to Reproduce: 1. rpm -iHv apache2-mod_perl-2.0.4-40.12.src.rpm 2. rpmbuild -ba /usr/src/packages/SPECS/apache2-mod_perl.spec Actual Results: + mv t/htdocs/includes-registry/test.pl t/htdocs/includes-registry/test.shtml + mv t/htdocs/includes-registry/cgipm.pl t/htdocs/includes-registry/cgipm.shtml + sed 's/\.pl/.shtml/' t/htdocs/includes/test.shtml + mv tmpfile t/htdocs/includes/test.shtml + echo -e '\n\nEnableSendfile off' + test -e ModPerl-Registry/t/cgi-bin/r_inherited.pl + chmod +x ModPerl-Registry/t/cgi-bin/r_inherited.pl + cat + mkdir -p t/htdocs/hooks + chmod 2770 t/htdocs/hooks + t/TEST -start-httpd -port select -startup_timeout 720 [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /usr/src/packages/BUILD/mod_perl-2.0.4/t/TEST -start-httpd -port 'select' -startup_timeout '720' [warning] root mode: changing the files ownership to 'nobody' (65534:65533) [warning] testing whether 'nobody' is able to -rwx /usr/src/packages/BUILD/mod_perl-2.0.4/t "/usr/bin/perl" -Mlib=/usr/src/packages/BUILD/mod_perl-2.0.4/Apache-Test/lib -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(65534, 65533, q[/usr/src/packages/BUILD/mod_perl-2.0.4/t]) }'; [warning] result: OK [warning] the client side drops 'root' permissions and becomes 'nobody' /usr/sbin/httpd2-prefork -d /usr/src/packages/BUILD/mod_perl-2.0.4/t -f /usr/src/packages/BUILD/mod_perl-2.0.4/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS using Apache/2.2.11 (prefork MPM) waiting 720 seconds for server to start: .[Wed Mar 18 18:24:11 2009] [info] 6 Apache2:: modules loaded [Wed Mar 18 18:24:11 2009] [info] 0 APR:: modules loaded [Wed Mar 18 18:24:11 2009] [info] base server + 28 vhosts ready to run tests ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. waiting 720 seconds for server to start: not ok [ error] giving up after 721 secs. If you think that your system is slow or overloaded try again with a longer timeout value. by setting the environment variable APACHE_TEST_STARTUP_TIMEOUT to a high value (e.g. 1020) and repeat the last command. [ error] server failed to start! (please examine t/logs/error_log) error: Bad exit status from /var/tmp/rpm-tmp.58853 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.58853 (%build) Expected Results: That the packages are build successfully and copied to /usr/src/packages/... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=486494 User lists@oliver-block.eu added comment https://bugzilla.novell.com/show_bug.cgi?id=486494#c1 Oliver Block <lists@oliver-block.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lists@oliver-block.eu --- Comment #1 from Oliver Block <lists@oliver-block.eu> 2009-03-20 10:39:22 MST --- I do not claim to have a solution for this bug, but the following does solve the problem manually. I do not have much experience with mod_perl though. I added the following code (line 37) to t/conf/modperl_extra.pl just to see if startup_info() returns: .. reorg_INC(); startup_info(); Apache2::ServerUtil->server->log->info('peep'); # added manually test_add_config(); .. After running `make test` in the command line again, I received the following test result summary: Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/apache/util.t 8 4 1-4 7 tests and 1 subtest skipped. Failed 1/238 test scripts. 4/2457 subtests failed. Files=238, Tests=2457, 125 wallclock secs (87.20 cusr + 16.26 csys = 103.46 CPU) Failed 1/238 test programs. 4/2457 subtests failed. [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/ | +--------------------------------------------------------+ make: *** [run_tests] Fehler 1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com