threads / discuss / 46644

t5551 hangs ?

Subject: t5551 hangs ?

## tl;dr

4 messages between Aug 22, 2017 and Aug 22, 2017.

replies: 3people: 2as markdown or json

Torsten Bögershausen· Aug 22, 2017, 05:10 UTC · lore
Hej,
I found 2 threads about hanging t5551, one in 2016, and one question
from Junio somewhen in 2017.
I have it reproducable here:
- Debian 8, 64 bit
- SSD
- Half-modern processor ;-)

The last thing I can see is: ok 29 - test allowanysha1inwant with unreachable ----------- A simplified ps -ef shows: /usr/sbin/apache2 -d /home/blalbla/t/trash directory.t5551-http-fetch-smart/httpd -f /home/blalbla/t/lib-httpd/apache.conf -c Listen 127.0.0.1:5551 -k start /usr/sbin/apache2 -d /home/blalbla/t/trash directory.t5551-http-fetch-smart/httpd -f /home/blalbla/t/lib-httpd/apache.conf -c Listen 127.0.0.1:5551 -k start /usr/sbin/apache2 -d /home/blalbla/t/trash directory.t5551-http-fetch-smart/httpd -f /home/blalbla/t/lib-httpd/apache.conf -c Listen 127.0.0.1:5551 -k start /usr/sbin/apache2 -d /home/blalbla/t/trash directory.t5551-http-fetch-smart/httpd -f /home/blalbla/t/lib-httpd/apache.conf -c Listen 127.0.0.1:5551 -k start /usr/sbin/apache2 -d /home/blalbla/t/trash directory.t5551-http-fetch-smart/httpd -f /home/blalbla/t/lib-httpd/apache.conf -c Listen 127.0.0.1:5551 -k start /usr/sbin/apache2 -d /home/blalbla/t/trash directory.t5551-http-fetch-smart/httpd -f /home/blalbla/t/lib-httpd/apache.conf -c Listen 127.0.0.1:5551 -k start /usr/sbin/apache2 -d /home/blalbla/t/trash directory.t5551-http-fetch-smart/httpd -f /home/blalbla/t/lib-httpd/apache.conf -c Listen 127.0.0.1:5551 -k start /home/blalbla/git -C too-many-refs fetch -q --tags /home/blalbla/git-remote-http origin http://127.0.0.1:5551/smart/repo.git ------------- The tests passes on another box (real old laptop, spinning disk)

Anything that can be done to debug it ?
Santiago Torres· Aug 22, 2017, 05:26 UTC · re: Torsten Bögershausen · lore

Re: t5551 hangs ?

Hello, Torsten. 
On Tue, Aug 22, 2017 at 07:10:59AM +0200, Torsten Bögershausen wrote:
Show 7 quoted lines
> Hej,
> I found 2 threads about hanging t5551, one in 2016, and one question
> from Junio somewhen in 2017.
> I have it reproducable here:
> - Debian 8, 64 bit
> - SSD
> - Half-modern processor ;-)
I don't think the SSD/regular disk have anything to do with it. 
- Are you running tests concurrently? (e.g., with -j x)
- What happens if you run the test individually (i.e., cd t and
  ./t5551...)
- You probably want to see the version of apache this is running/etc.
- What happens if you kill the apache processes? 

I can't reproduce on my side, but let me see if I can dig a little into it.

Cheers! -Santiago.

Torsten Bögershausen· Aug 22, 2017, 14:43 UTC · re: Santiago Torres · lore

Re: t5551 hangs ?

On Tue, Aug 22, 2017 at 01:26:25AM -0400, Santiago Torres wrote:
Show 16 quoted lines
> Hello, Torsten. 
> 
> On Tue, Aug 22, 2017 at 07:10:59AM +0200, Torsten Bögershausen wrote:
> > Hej,
> > I found 2 threads about hanging t5551, one in 2016, and one question
> > from Junio somewhen in 2017.
> > I have it reproducable here:
> > - Debian 8, 64 bit
> > - SSD
> > - Half-modern processor ;-)
> 
> I don't think the SSD/regular disk have anything to do with it. 
> 
> - Are you running tests concurrently? (e.g., with -j x)
> - What happens if you run the test individually (i.e., cd t and
>   ./t5551...)

No concurrency. That's what I do: ./t5551-http-fetch-smart.sh

> - You probably want to see the version of apache this is running/etc.

The one that comes with Debian - I am not an expert here, what is it that is interesting ?

> - What happens if you kill the apache processes? 

I am left with these processes: /home/blabla/pu/git -C too-many-refs fetch -q --tags /home/blabla/pu/git-remote-http origin http://127.0.0.1:5551/smart/repo.git

> 
> I can't reproduce on my side, but let me see if I can dig a little into
> it.

Thanks, more tips or things I can do are welcome. t5551 seems to be flaky - from time to time. It seems that I have it reproducable unstable, so if someone has more ideas, please.

> 
> Cheers!
> -Santiago.
Santiago Torres· Aug 22, 2017, 14:51 UTC · re: Torsten Bögershausen · lore

Re: t5551 hangs ?

> No concurrency.
> That's what I do: ./t5551-http-fetch-smart.sh

Oh ok! I was just trying to weed out what could out of place. Just to make sure, your old compute is also running debian 8 latest?

Show 5 quoted lines
> 
> > - You probably want to see the version of apache this is running/etc.
> 
> The one that comes with Debian -
> I am not an expert here, what is it that is interesting ?

I'm not sure, but sometimes it's helpful to look at changelogs between versions of packages to get a poiner as to what could be wrong. I wonder if it's apache the one that's failing on this case. Probably a paste of dpkg-query --show apache would help me try to reproduce..

Show 7 quoted lines
> 
> > - What happens if you kill the apache processes? 
> 
> I am left with these processes:
> /home/blabla/pu/git -C too-many-refs fetch -q --tags
> /home/blabla/pu/git-remote-http origin http://127.0.0.1:5551/smart/repo.git
> 

So it's probably not an issue with apache, as the socket should be hopefully closed gracefully.

Show 8 quoted lines
> > 
> > I can't reproduce on my side, but let me see if I can dig a little into
> > it.
> 
> Thanks, more tips or things I can do are welcome.
> t5551 seems to be flaky - from time to time.
> It seems that I have it reproducable unstable, so if someone has more
> ideas, please.

I'm still unable to reproduce. Do you think you can enable GIT_TRACE, GIT_TRACE_PACK and GIT_TRACE_CURL and pastebin/paste what you see?

Cheers! -Santiago.

← back to recent threads