Re: [mp2] make test errors

2008-11-15 Thread Fred Moyer
On Fri, Nov 14, 2008 at 9:48 PM, <[EMAIL PROTECTED]> wrote: > -8<-- Start Bug Report 8<-- > 1. Problem Description: > > Per suggestion made in this forum, I gave up on static build and am building > dynamic. > Now I get 2 errors in make test, plus undef erro

[mp2] make test errors

2008-11-14 Thread craig
-8<-- Start Bug Report 8<-- 1. Problem Description: Per suggestion made in this forum, I gave up on static build and am building dynamic. Now I get 2 errors in make test, plus undef errors during 'sudo make install' t/hooks/authen_basic1..4 # Runn

Re: [mp2] "make test" errors with apache 2.2.2

2006-06-03 Thread Philip M. Gollucci
David Weekly wrote: Failed Test Stat Wstat Total Fail Failed List of Failed --- t/apache/content_length_header.t 271 3.70% 17 t/api/status.t

[mp2] "make test" errors with apache 2.2.2

2006-06-03 Thread David Weekly
Failed Test Stat Wstat Total Fail Failed List of Failed --- t/apache/content_length_header.t 271 3.70% 17 t/api/status.t 62 33.33% 4-5 15 t

Re: [mp2] make test errors ("failed to start server") with mp 2.0.2

2006-02-01 Thread Bennett Haselton
At 01:25 AM 2/1/2006 -0800, Stas Bekman wrote: Bennett Haselton wrote: [...] still waiting for server to warm up: ... the server is down, giving up after 121 secs [ error] failed to st

Re: [mp2] make test errors ("failed to start server") with mp 2.0.2

2006-02-01 Thread Stas Bekman
Bennett Haselton wrote: [...] still waiting for server to warm up: ... the server is down, giving up after 121 secs [ error] failed to start server! (please examine t/logs/error_log)

[mp2] make test errors ("failed to start server") with mp 2.0.2

2006-01-31 Thread Bennett Haselton
I'm not very familiar with UNIX but I believe I followed the instructions exactly for installing mod_perl, and I still ran into the problem below. (Since I'm not used to UNIX though, if you need me to post more information, please specify as precisely as possible what I should type since I won

Re: [mp2] make test errors

2005-08-20 Thread William McKee
On Wed, Jun 08, 2005 at 12:00:01AM +1000, Stas Bekman wrote: > Great! William, can you please write a new entry for the troubleshooting > chapter? With a full diagnosis and the solution? Really it should belong > to the Apache-Test troubleshooting, but as at the moment it doesn't exist, > we wil

Re: [mp2] make test errors

2005-06-07 Thread Stas Bekman
William McKee wrote: Stas, It's been awhile, but I'm back to working on these tests under FreeBSD 5.3 with mp2. I'm using the current release (2.0.0) with Apache 2.0.54. The root of many of my problems appears to be how Apache is resolving my localhost address. Apparently FBSD resolves localhost

Re: [mp2] make test errors

2005-06-02 Thread William McKee
Stas, It's been awhile, but I'm back to working on these tests under FreeBSD 5.3 with mp2. I'm using the current release (2.0.0) with Apache 2.0.54. The root of many of my problems appears to be how Apache is resolving my localhost address. Apparently FBSD resolves localhost to my Jail IP. Apache

Re: [mp2] make test errors

2005-02-24 Thread Stas Bekman
Joe Orton wrote: On Fri, Feb 18, 2005 at 05:35:56PM -0500, Stas Bekman wrote: Joe, shouldn't the APR API emit some kind of errors in the situation like William has with jail env+ac_cv_o_nonblock_inherited thingy, rather than silently fail? The issue is that the configure test couldn't make a dec

Re: [mp2] make test errors

2005-02-24 Thread Joe Orton
On Fri, Feb 18, 2005 at 05:35:56PM -0500, Stas Bekman wrote: > Joe, shouldn't the APR API emit some kind of errors in the situation like > William has with jail env+ac_cv_o_nonblock_inherited thingy, rather than > silently fail? The issue is that the configure test couldn't make a decision, but

Re: [mp2] make test errors

2005-02-18 Thread Stas Bekman
Jie Gao wrote: Hi Stas, The documentation at http://perl.apache.org/docs/2.0/api/APR/OS.html has an inconsistency. In the example, it seems the method "thread_current" should actually be "current_thread_id". Thanks Jie, committed. -- _

Re: [mp2] make test errors

2005-02-18 Thread Jie Gao
Hi Stas, The documentation at http://perl.apache.org/docs/2.0/api/APR/OS.html has an inconsistency. In the example, it seems the method "thread_current" should actually be "current_thread_id". Regard, Jie

Re: [mp2] make test errors

2005-02-18 Thread Stas Bekman
Joe, shouldn't the APR API emit some kind of errors in the situation like William has with jail env+ac_cv_o_nonblock_inherited thingy, rather than silently fail? -- __ Stas BekmanJAm_pH --> Just Another mod_perl Hack

Re: [mp2] make test errors

2005-02-18 Thread Stas Bekman
William McKee wrote: [...] To recap, these are the results of the mp2 test (RC4) with the following environment setting: export ac_cv_o_nonblock_inherited=yes [...] # Failed test 2 in t/api/access2.t at line 15 # testing : no credentials passed # expected: 401 # received: 403 not ok 2 I

Re: [mp2] make test errors

2005-02-18 Thread William McKee
On Fri, Feb 18, 2005 at 10:15:19AM -0500, William McKee wrote: > Actually, I suppose that I could try running the nonblock script first > to see if that works. I was able to get my hosting provider to run the nonblock program outside of a jailed process and it works. We've been trying to figure ou

Re: [mp2] make test errors

2005-02-18 Thread William McKee
On Thu, Feb 17, 2005 at 06:27:15PM -0500, Stas Bekman wrote: > As for 'Can't open t/conf/perlsection.conf', do > > t/TEST -clean To make a long story short, I had run the make test on the source as root which caused the t/ directory to have its ownership changed to nobody. So when I went to run m

Re: [mp2] make test errors

2005-02-18 Thread William McKee
On Fri, Feb 18, 2005 at 01:40:44PM +, Joe Orton wrote: > That confirms that the problem: you got a connect() failure when the > configure test program attempted to a listener bound to 0.0.0.0 OK. > You can try the standalone test program here to reproduce the failure: Yes, that seems to be

Re: [mp2] make test errors

2005-02-18 Thread Joe Orton
On Thu, Feb 17, 2005 at 03:05:31PM -0500, William McKee wrote: > On Thu, Feb 17, 2005 at 04:53:45PM +, Joe Orton wrote: > > Check for the result of the: > > > > "checking if O_NONBLOCK setting is inherited from listening sockets" > > > > test when you run the configure script. > > I wasn't s

Re: [mp2] make test errors

2005-02-17 Thread Stas Bekman
William McKee wrote: On Thu, Feb 17, 2005 at 04:53:45PM +, Joe Orton wrote: Check for the result of the: "checking if O_NONBLOCK setting is inherited from listening sockets" test when you run the configure script. I wasn't sure if you were referring to the mod_perl or Apache configure script.

Re: [mp2] make test errors

2005-02-17 Thread Stas Bekman
William McKee wrote: On Wed, Feb 16, 2005 at 07:14:24PM -0500, Stas Bekman wrote: Yes, it is (though keep in mind that this is a virtual server running as a jailed process, not a separate machine). That could be the reason. But if I open a lynx session and surf over to localhost, my server comes u

Re: [mp2] make test errors

2005-02-17 Thread William McKee
On Thu, Feb 17, 2005 at 04:53:45PM +, Joe Orton wrote: > Check for the result of the: > > "checking if O_NONBLOCK setting is inherited from listening sockets" > > test when you run the configure script. I wasn't sure if you were referring to the mod_perl or Apache configure script. When I ra

Re: [mp2] make test errors

2005-02-17 Thread Joe Orton
On Thu, Feb 17, 2005 at 09:18:31AM -0500, William McKee wrote: > On Thu, Feb 17, 2005 at 10:39:46AM +, Joe Orton wrote: > > That was all the non-blocking-vs-blocking stuff. First I'd ask whether > > or not this fails in a non-chroot environment. A chroot will screw up > > all kinds of stuff (

Re: [mp2] make test errors

2005-02-17 Thread William McKee
On Thu, Feb 17, 2005 at 10:39:46AM +, Joe Orton wrote: > That was all the non-blocking-vs-blocking stuff. First I'd ask whether > or not this fails in a non-chroot environment. A chroot will screw up > all kinds of stuff (e.g. the resolver libraries) unless you set it up > properly. Any poin

Re: [mp2] make test errors

2005-02-17 Thread William McKee
On Wed, Feb 16, 2005 at 07:12:11PM -0500, Stas Bekman wrote: > please look at your original report, William, it was failing the same 2 > sub-tests. That's weird because it's only failing one if I run it by itself. This obviously wasn't the case earlier when I reported the error. At any rate, this

Re: [mp2] make test errors

2005-02-17 Thread William McKee
On Wed, Feb 16, 2005 at 07:14:24PM -0500, Stas Bekman wrote: > >Yes, it is (though keep in mind that this is a virtual server running as > >a jailed process, not a separate machine). > > That could be the reason. But if I open a lynx session and surf over to localhost, my server comes up fine.

Re: [mp2] make test errors

2005-02-17 Thread Joe Orton
On Wed, Feb 16, 2005 at 07:12:11PM -0500, Stas Bekman wrote: > Joe, do you have an idea why this doesn't work on FreeBSD 5.3 (in jail > environment). I remember last time you've fixed something about some BSD > flavor in APR socket lib. Thanks. That was all the non-blocking-vs-blocking stuff. F

Re: [mp2] make test errors

2005-02-16 Thread Stas Bekman
William McKee wrote: On Wed, Feb 16, 2005 at 04:06:39PM -0500, Stas Bekman wrote: whereas Apache-Test sees 127.0.0.1. I suppose 166.70.252.34 is the external IP of the same machine. Yes, it is (though keep in mind that this is a virtual server running as a jailed process, not a separate machine).

Re: [mp2] make test errors

2005-02-16 Thread Stas Bekman
William McKee wrote: On Wed, Feb 16, 2005 at 04:08:45PM -0500, Stas Bekman wrote: see if this patch helps: Uh-oh, from bad to worse. Now we're failing two tests (instead of only the last one): please look at your original report, William, it was failing the same 2 sub-tests. # Running under pe

Re: [mp2] make test errors

2005-02-16 Thread William McKee
On Wed, Feb 16, 2005 at 04:06:39PM -0500, Stas Bekman wrote: > whereas Apache-Test sees 127.0.0.1. I suppose 166.70.252.34 > is the external IP of the same machine. Yes, it is (though keep in mind that this is a virtual server running as a jailed process, not a separate machine). > Try to debug

Re: [mp2] make test errors

2005-02-16 Thread William McKee
On Wed, Feb 16, 2005 at 04:08:45PM -0500, Stas Bekman wrote: > see if this patch helps: Uh-oh, from bad to worse. Now we're failing two tests (instead of only the last one): # Running under perl version 5.008006 for freebsd # Current time local: Wed Feb 16 17:23:47 2005 # Current time GMT:

Re: [mp2] make test errors

2005-02-16 Thread William McKee
On Wed, Feb 16, 2005 at 04:12:34PM -0500, Stas Bekman wrote: > Don't forget that we are talking about APR socket API, not perl socket > API, which aren't the same. Oh, right, I hadn't really considered that. Hopefully it's at least useful to see that the perl sockets are working. > I've never s

Re: [mp2] make test errors

2005-02-16 Thread Stas Bekman
William McKee wrote: I didn't get very far with debugging the test (basically the test server got started and I lost control of the debugger). At any rate, I found some more information about sockets inside of jailed environments[1]. Section 4.2.2 seems to indicate that the type of socket we are cr

Re: [mp2] make test errors

2005-02-16 Thread Stas Bekman
William McKee wrote: t/TEST t/protocol/echo_block.t -v # Failed test 2 in t/protocol/echo_block.t at line 22 # expected: hello # received: # Failed test 3 in t/protocol/echo_block.t at line 22 fail #2 not ok 2 # expected: world # received: not ok 3 see if this patch helps: Index:

Re: [mp2] make test errors

2005-02-16 Thread Stas Bekman
William McKee wrote: BTW, this is a different issue: t/TEST t/preconnection/note.t -v # testing : connection notes # Failed test 1 in t/preconnection/note.t at line 16 # expected: 127.0.0.1 # received: 166.70.252.34 Here the Apache API: my $ip = $c->remote_ip; sees 166.70.252.34 where

Re: [mp2] make test errors

2005-02-16 Thread William McKee
I didn't get very far with debugging the test (basically the test server got started and I lost control of the debugger). At any rate, I found some more information about sockets inside of jailed environments[1]. Section 4.2.2 seems to indicate that the type of socket we are creating in the followi

Re: [mp2] make test errors

2005-02-16 Thread William McKee
Stas (and anyone else using FreeBSD), I tried searching the archives but didn't find anything that specifically addressed the errors I'm having. As shown in my original bug report, I'm using FreeBSD 5.3 in a jailed (chrooted) environment. I'm willing to dig into the test errors if you can give me

Re: [mp2] make test errors

2005-02-16 Thread William McKee
On Tue, Feb 15, 2005 at 06:41:04PM -0500, Stas Bekman wrote: > I think there were a few similar reports posted here before (check the > archives). Unfortunately no one running FreeBSD has volunteered to look at > those. From what we have seen before all test failures seem to be caused > by some

Re: [mp2] make test errors

2005-02-15 Thread Stas Bekman
William McKee wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: While installing mod_perl2 on a FreeBSD 5.3 jail environment, I received the following test errors: Failed Test Stat Wstat Total Fail Failed List of Failed --

[mp2] make test errors

2005-02-13 Thread William McKee
-8<-- Start Bug Report 8<-- 1. Problem Description: While installing mod_perl2 on a FreeBSD 5.3 jail environment, I received the following test errors: Failed Test Stat Wstat Total Fail Failed List of Failed