Skip to contentSkip to conversation

More on t5562 hangs randomly in subtests 6,8 and 13 in 2.21.0-rc0

BUG [email protected] 4 participants 4 messages Feb 13, 2019 – Feb 18, 2019

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines · Max Kirillov,
Quoted 4 lines · Randall S. Becker

Hi All,

I have localized the hang in t5562 (previous thread) to the invoke-with-content-length.pl script.

I have yet to look at it more closely, but there have been one case of misbehavior due to unintended reuse of output file (see
https://public-inbox.org/git/[email protected]/ ) Could your case be somehow related to it?

I don't think the lack of curl is an issue (one thing mentioned in the thread), as curl works fine. We are on 7.57.0.

As far as the unintended reuse of the output file, and issues with pipes, yes, the NonStop is very sensitive to complex use of pipes and much of the compatibility issues we have had relate to those (usually Linux-specific pipe assumptions). That is where I have been looking when trying to debug this situation (not yet found anything). This could very well be directly related.

Regards,
Randall

#1 lore raw
Quoted 7 lines · On Wed, Feb 13, 2019 at 10:16:26AM -0500, [email protected] wrote:

On 2019-02-13, Max Kirillov, wrote:
As far as the unintended reuse of the output file, and issues with pipes, yes, the NonStop is very sensitive to complex use of pipes and much of the compatibility issues we have had relate to those (usually Linux-specific pipe assumptions). That is where I have been looking when trying to debug this situation (not yet found anything). This could very well be directly related.

You mentioned cases 6,8,13. These are all related to gipped request body. Could it be the git-http-backend does not clean a sub-process which pervforms the decompression?

#2 lore raw
Quoted 10 lines · Max Kirillov
Quoted 7 lines · On Wed, Feb 13, 2019 at 10:16:26AM -0500, [email protected] wrote:

On 2019-02-13, Max Kirillov, wrote:
As far as the unintended reuse of the output file, and issues with pipes, yes, the NonStop is very sensitive to complex use of pipes and much of the compatibility issues we have had relate to those (usually Linux-specific pipe assumptions). That is where I have been looking when trying to debug this situation (not yet found anything). This could very well be directly related.

Quoted 3 lines

You mentioned cases 6,8,13. These are all related to gipped request body. Could it be the git-http-backend does not clean a sub-process which pervforms the decompression?

I guess that is possible. I don't know the guts of this part of the code.

#3 lore raw
In reply to Max Kirillov

Hi Max,

Quoted 9 lines · Max Kirillov
Quoted 7 lines · On Wed, Feb 13, 2019 at 10:16:26AM -0500, [email protected] wrote:

On 2019-02-13, Max Kirillov, wrote:
As far as the unintended reuse of the output file, and issues with pipes, yes, the NonStop is very sensitive to complex use of pipes and much of the compatibility issues we have had relate to those (usually Linux-specific pipe assumptions). That is where I have been looking when trying to debug this situation (not yet found anything). This could very well be directly related.

Quoted 3 lines

You mentioned cases 6,8,13. These are all related to gipped request body. Could it be the git-http-backend does not clean a sub-process which pervforms the decompression?

That is an interesting question. From what I can see, the gzipped_request flag guards a call to inflate_request(), which does not explicitly close stdin, is all I could see. But it does not spawn a sub-process from what I can see, other than the regular backend ("upload-pack" or "receive-pack").

Ciao,
Dscho