Re: t5539 fails on ubuntu for v2.0.0-rc2

2014-05-14 Thread Jeff King
On Sat, May 10, 2014 at 10:02:59AM -0400, Jeff King wrote: On Fri, May 09, 2014 at 02:08:27PM -0700, Junio C Hamano wrote: 3. Just disable the http tests when run as root. I think I'd favor 3. But I'd like to be sure that being root is the problem. I agree with both the

Re: t5539 fails on ubuntu for v2.0.0-rc2

2014-05-14 Thread Junio C Hamano
Jeff King p...@peff.net writes: On Sat, May 10, 2014 at 10:02:59AM -0400, Jeff King wrote: On Fri, May 09, 2014 at 02:08:27PM -0700, Junio C Hamano wrote: 3. Just disable the http tests when run as root. I think I'd favor 3. But I'd like to be sure that being root is the

Re: t5539 fails on ubuntu for v2.0.0-rc2

2014-05-14 Thread Jeff King
On Wed, May 14, 2014 at 10:11:11AM -0700, Junio C Hamano wrote: A bit more disturbing is that I did not get the impression that we know the exact reason why these http tests, especially the getwpuid call, fail for Fabio when run as root. And if my impression is correct, then do not run tests

Re: t5539 fails on ubuntu for v2.0.0-rc2

2014-05-10 Thread Jeff King
On Fri, May 09, 2014 at 02:08:27PM -0700, Junio C Hamano wrote: 3. Just disable the http tests when run as root. I think I'd favor 3. But I'd like to be sure that being root is the problem. I agree with both the conclusion and the precondition. Here's the patch. The problem starts

Re: t5539 fails on ubuntu for v2.0.0-rc2 - the SAME on 12.04 server - this test was disabled up to 1.9.2

2014-05-09 Thread Fabio D'Alfonso
Hi, this test was disabled up to 1.9.2 so it did not fail as it did not run by default. I have set the variable to run and got an error also in previous version, while never had problem in use. So I simply go on as there will no worst than before. It seems that no one is interested to this

Re: t5539 fails on ubuntu for v2.0.0-rc2 - the SAME on 12.04 server - this test was disabled up to 1.9.2

2014-05-09 Thread Jeff King
On Fri, May 09, 2014 at 10:39:32AM +0200, Fabio D'Alfonso wrote: this test was disabled up to 1.9.2 so it did not fail as it did not run by default. Yes, in v1.9.2 we turned on http tests to run by default, but only if we could succeed in setting up the http server automatically (and if we

Re: t5539 fails on ubuntu for v2.0.0-rc2

2014-05-09 Thread Jeff King
On Thu, May 08, 2014 at 08:02:28AM +0200, Fabio D'Alfonso wrote: this is the error in httpd error.log [Wed May 07 20:44:10 2014] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Wed May 07 20:44:10 2014] [notice]

Re: t5539 fails on ubuntu for v2.0.0-rc2

2014-05-09 Thread Fabio D'Alfonso
Hi, yes, the problem comes from root. I made a make test using git user in my 12.04 server where there is a gitlab and the test went on for 5539. I think the 3 could be the better solution. This is not the place to discuss about the sudo mania, a disease I did not get and hope not to get, but

Re: t5539 fails on ubuntu for v2.0.0-rc2

2014-05-09 Thread Junio C Hamano
Jeff King p...@peff.net writes: Does running the tests as a non-root user fix it? If so, I think we have a few options in git: 1. Add a User directive to our httpd.conf. I doubt this is a good idea to do unconditionally, as a non-root apache would probably be unhappy with it.

Re: t5539 fails on ubuntu for v2.0.0-rc2

2014-05-08 Thread Fabio D'Alfonso
Hi, this is the error in httpd error.log [Wed May 07 20:44:10 2014] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Wed May 07 20:44:10 2014] [notice] Apache/2.2.17 (Ubuntu) configured --resuming normal operations

Re: t5539 fails on ubuntu for v2.0.0-rc2

2014-05-08 Thread Fabio D'Alfonso
The message seems common around the apache issues but the previous test t5538 that uses start and stop routines works. Fabio D'Alfonso 'Enabling Business Through IT' cell. +39.348.059.40.22 *** web: www.fabiodalfonso.com http://www.fabiodalfonso.com/ email: fabio.dalfo...@fabiodalfonso.com

Re: t5539 fails on ubuntu for v2.0.0-rc2 - the SAME on 12.04 server

2014-05-08 Thread Fabio D'Alfonso
Hi, strange that no one gets the error. I get also on another server 12.04.4 LTS so the problem is not on a single VM or version. No idea? Fabio D'Alfonso 'Enabling Business Through IT' cell. +39.348.059.40.22 *** web: www.fabiodalfonso.com http://www.fabiodalfonso.com/ email:

Re: t5539 fails on ubuntu for v2.0.0-rc2

2014-05-07 Thread Junio C Hamano
Fabio D'Alfonso fabio.dalfo...@fabiodalfonso.com writes: Hi, I am getting this in Ubuntu, something wrong with my env? Thanks root@HDUBVM01:~/builds/git/t# ./t5539-fetch-http-shallow.sh ok 1 - setup shallow clone not ok 2 - clone http repository # #git clone --bare --no-local

Re: t5539 fails on ubuntu for v2.0.0-rc2

2014-05-07 Thread Jeff King
On Wed, May 07, 2014 at 02:45:01PM -0700, Junio C Hamano wrote: Fabio D'Alfonso fabio.dalfo...@fabiodalfonso.com writes: root@HDUBVM01:~/builds/git/t# ./t5539-fetch-http-shallow.sh ok 1 - setup shallow clone not ok 2 - clone http repository [...] Does not reproduce for me but I am on