git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: t5559 breaks with apache 2.4.55

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 9, 2023, 21:45 UTC
Message-ID
<xmqq357ems2h.fsf@gitster.g>
In-Reply-To
<Y9YTsF4a8lL7uHm+@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 8 quoted lines
> ...
> But that does at least give me more confidence that the bug is in
> mod_http2, and isn't, say, some intentional behavior change there that
> happens to trigger a bug in curl.
>
> I opened an issue here: https://github.com/icing/mod_h2/issues/243
>
> So we'll see if that helps.

Thanks. I've seen that the above issue may have redirected the investigation to cURL, and over time, I expect taht this will start to trigger in more environments (as Apache 2.4.55 and mod_h2 2.0.10 propagates) before it fixes itself (as fixed versions of these things we use in our tests percolates down).

In the meantime, perhaps we should punt with a patch like this?
------------ >8 ------------
Subject: [PATCH] t5559: skip a known-to-be-broken test

t5559 runs the same set of tests as t5551 under HTTP/2 but one of them started failing with Apache 2.4.55 and mod_h2 2.0.10 (but not with HTTP/1.1). Newer mod_h2 is known to have fixed the issue.

In the meantime, skip the test.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 t/t5551-http-fetch-smart.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git c/t/t5551-http-fetch-smart.sh w/t/t5551-http-fetch-smart.sh
index bc0719a4fc..52159e8b6f 100755
--- c/t/t5551-http-fetch-smart.sh
+++ w/t/t5551-http-fetch-smart.sh
@@ -350,7 +350,8 @@ test_expect_success CMDLINE_LIMIT \
 	)
 '
 
-test_expect_success 'large fetch-pack requests can be sent using chunked encoding' '
+# https://github.com/icing/mod_h2/issues/243
+test_expect_success !HTTP2 'large fetch-pack requests can be sent using chunked encoding' '
 	GIT_TRACE_CURL=true git -c http.postbuffer=65536 \
 		clone --bare "$HTTPD_URL/smart/repo.git" split.git 2>err &&
 	{
Previous: Jeff KingNext: Jeff King
Message 5 of 8 in “t5559 breaks with apache 2.4.55”
  1. Jeff KingJan 22, 2023
  2. Todd ZullingerJan 22, 2023
  3. Jeff KingJan 26, 2023
  4. Jeff KingJan 29, 2023
  5. Junio C HamanoFeb 9, 2023
  6. Jeff KingFeb 11, 2023
  7. Junio C HamanoFeb 11, 2023
  8. Jeff KingFeb 11, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.