🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #4227

[PATCH v5] test-lib: run EXPENSIVE tests one at a time

#4227
From: Kaartic Sivaraam
Date: Tue, 01 Dec 2026 19:53
521 lines
30924 bytes
Recently, we've acquired quite a few expensive tests in our test suite.
For instance, these commits add several tests that require
multiple gigabytes of memory:

  - 89048b48fb (t1600-index: add expensive tests for over-long
    tree paths, 2026-10-16) added tests to t1600

  - 288266c11d (xdiff: use size_t for merge buffer size computations,
    2026-10-16) added tests to t4300

  - 55c54fd375 (apply: reject binary patches greater than MAX_APPLY_SIZE,
    2026-03-25) added tests to t4141

We also have the memory hungry 5GB filtered hash-object test in t1007.

When GIT_TEST_LONG is set, "prove --jobs" happily runs several of these
at once. On the 16GB GitLab CI runners this exhausts memory: the
sanitizer jobs have been hanging in t1007 until they hit the job
timeout ever since the new EXPENSIVE tests in t1600 started running
alongside it. Running the two under a 16GB memory cap reproduces it,
with the t1007 git process getting OOM-killed.

GitHub CI runners are no exception and experience the same behaviour.

Take a lock shared by all test scripts around each EXPENSIVE test, so
only one of them runs at a time. Cheap tests in the same scripts keep
running in parallel. Only the expensive ones wait for each other.

The lock is a file in TEST_RESULTS_DIR holding its owner's PID. A
script writes its PID to a file of its own and hard links it into place
with ln(1). Like mkdir(1), that is atomic and fails if the lock exists,
but the lock never exists without its owner recorded in it.

The lock is released after the test and its cleanup finish, and from
the EXIT trap. A lock whose owner is gone was left by a killed script,
and a waiter removes it after re-reading it, so that a lock another
waiter has just taken is left alone. Two waiters clearing the same
stale lock at once may let two expensive tests run together, which is
rare and better than hanging. If the lock cannot be taken although
nobody holds it, e.g. without hard link support or on a read-only or
full disk, the test runs anyway.

We add a few subtests to t0000 to ensure that the lock is taken over
in scenarios where it is not cleared up normally.

Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
---
In recent times, we've been noticing the sanitizer jobs (linux-leaks,
linux-reftable-leaks, linux-asan-ubsan) hang and fail with timeout in
our GitLab CI runners. On some digging, it turns out that this is
because of multiple memory hungry tests running in parallel.

So, I thought of suggesting this patch to serialize the expensive tests
at least to avoid the putting the CI runners under memory pressure.

The GitHub CI runners also observed the same behaviour.

Both CI runners are happy with this change.

GitHub: https://github.com/sivaraam/git/actions/runs/46125210187/job/140918221115
GitLab: https://gitlab.com/gitlab-org/git/-/pipelines/3139440521

(note: The GitHub CI run is from an older iteration. The GitLab CI run 
 is with the current patch and the following fix included to make CI green:
 https://lore.kernel.org/git/pull.2342.git.1796049772272.gitgitgadget@gmail.com/ )
---
Changes in v5:
- Introduce remove_expensive_lock_owned_by_ function as suggested by
  Christian to reduce the unintentional removal of the lock-file.
- Redirect the messages to stderr and format them as comments so TAP
  ignores them in cases where we redirect stderr to stdout.
- Sprinkle acquire_expensive_lock_ with a few newlines to hopefully
  improve the readability of it.
- Acknowledge in the comment that the owner recheck isn't a complete
  fix for the race it tries to address.
- Squashed the two patches into one as the tests introduced in 2/2
  weren't as controversial as expected.
- Link to v4: https://patch.msgid.link/20261128-ks-ci-long-test-hang-fix-v4-0-f117badd2e13@gmail.com

Changes in v4:
- Made a few more commit messages tweaks pointed out by Junio.
- Moved release_expensive_lock_ above die() to ensure it is always
  defined before die() is invoked.
- All ways of failing to take the lock now print the same message,
  clean up, and run the test anyway.
- 2/2 is new. It adds a few subtests to ensure the lock cleanup
  happens appropriately.
- Link to v3: https://patch.msgid.link/20261127-ks-ci-long-test-hang-fix-v3-1-91b2aac82a1c@gmail.com

Changes in v3:
- Fixed issues in the commit message as pointed out by Junio.
- Fixed a race, pointed out in review, where a waiter could remove a
  lock another script had just taken, letting two EXPENSIVE tests run
  at once. A waiter now re-reads the owner and only removes the lock
  if it still names the same dead process.
- Fixed a deadlock where a script killed between creating the lock and
  recording its PID left a lock that nobody would ever remove. The lock
  is now a hard link to a file that already holds the PID, so it never
  exists without an owner.
- A lock that names the waiter's own PID (left by a dead holder whose
  PID was reused) is now treated as stale instead of waited on forever.
- If the lock cannot be created although nobody holds it (no hard
  links, read-only or full disk), the test runs without it instead of
  waiting forever.
- Rewrote the lock part of the commit message for the new scheme.
- Link to v2: https://patch.msgid.link/20261119-ks-ci-long-test-hang-fix-v2-1-37011c08380d@gmail.com

Changes in v2:
- Corrected commit messages as per Patrick's suggestions
- Tweaked the shell function comment to avoid mentioning 'prove --jobs'
- Made the owner and waiting variables local within acquire_expensive_lock_
- Link to v1: https://patch.msgid.link/20261119-ks-ci-long-test-hang-fix-v1-1-45c2fff6d9f0@gmail.com

Range-diff vs. v4:

1:  ad8fa8d872 ! 1:  2fcdeefff3 test-lib: run EXPENSIVE tests one at a time
    @@ Commit message
         nobody holds it, e.g. without hard link support or on a read-only or
         full disk, the test runs anyway.

    +    We add a few subtests to t0000 to ensure that the lock is taken over
    +    in scenarios where it is not cleared up normally.
    +
         Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>

      ## t/README ##
    @@ t/README: appropriately before running "make". Short options can be bundled, i.e
      -r::
      --run=<test-selector>::

    + ## t/t0000-basic.sh ##
    +@@ t/t0000-basic.sh: test_expect_success 'subtest: lazy prereqs do not turn off tracing' '
    + 	test_grep "echo trace" lazy-prereq-and-tracing/err
    + '
    +
    ++test_expect_success 'subtest: EXPENSIVE lock of a dead holder is taken over' '
    ++	write_sub_test_lib_test expensive-lock-dead <<-\EOF &&
    ++	test_expect_success EXPENSIVE "holds the lock" "
    ++		echo $$ >expect &&
    ++		test_cmp expect \"$TEST_RESULTS_DIR/expensive.lock\"
    ++	"
    ++	test_done
    ++	EOF
    ++	mkdir expensive-lock-dead/test-results &&
    ++	pid=$(sh -c "echo \$\$") &&
    ++	echo $pid >expensive-lock-dead/test-results/expensive.lock &&
    ++	run_sub_test_lib_test expensive-lock-dead --long &&
    ++	check_sub_test_lib_test_err expensive-lock-dead \
    ++		<<-\EOF_OUT 3<<-EOF_ERR &&
    ++	> ok 1 - holds the lock
    ++	> # passed all 1 test(s)
    ++	> 1..1
    ++	EOF_OUT
    ++	> # removing stale EXPENSIVE lock left by PID $pid
    ++	EOF_ERR
    ++	test_path_is_missing expensive-lock-dead/test-results/expensive.lock
    ++'
    ++
    ++test_expect_success 'subtest: EXPENSIVE lock carrying our own PID is taken over' '
    ++	write_sub_test_lib_test expensive-lock-own-pid <<-\EOF &&
    ++	mkdir -p "$TEST_RESULTS_DIR" &&
    ++	echo $$ >"$TEST_RESULTS_DIR/expensive.lock" &&
    ++	echo $$ >"$TEST_RESULTS_DIR/pid"
    ++	test_expect_success EXPENSIVE "takes the lock" "true"
    ++	test_done
    ++	EOF
    ++	run_sub_test_lib_test expensive-lock-own-pid --long &&
    ++	pid=$(cat expensive-lock-own-pid/test-results/pid) &&
    ++	check_sub_test_lib_test_err expensive-lock-own-pid \
    ++		<<-\EOF_OUT 3<<-EOF_ERR &&
    ++	> ok 1 - takes the lock
    ++	> # passed all 1 test(s)
    ++	> 1..1
    ++	EOF_OUT
    ++	> # removing stale EXPENSIVE lock left by PID $pid
    ++	EOF_ERR
    ++	test_path_is_missing expensive-lock-own-pid/test-results/expensive.lock
    ++'
    ++
    ++test_expect_success 'subtest: EXPENSIVE lock is released when exiting mid-test' '
    ++	write_sub_test_lib_test expensive-lock-exit <<-\EOF &&
    ++	test_expect_success EXPENSIVE "exits holding the lock" "
    ++		test_path_is_file \"$TEST_RESULTS_DIR/expensive.lock\" &&
    ++		exit 1
    ++	"
    ++	test_done
    ++	EOF
    ++	run_sub_test_lib_test_err expensive-lock-exit --long &&
    ++	test_grep "FATAL: Unexpected exit" expensive-lock-exit/out &&
    ++	test_path_is_missing expensive-lock-exit/test-results/expensive.lock
    ++'
    ++
    + test_expect_success 'subtest: tests clean up after themselves' '
    + 	write_and_run_sub_test_lib_test cleanup <<-\EOF &&
    + 	clean=no
    +
      ## t/test-lib.sh ##
     @@ t/test-lib.sh: test_missing_prereq=

      test_external_has_tap=0

    ++# Remove the lock only if it still names $1 as its owner, so that
    ++# a lock someone else has just taken is left alone.
    ++remove_expensive_lock_owned_by_ () {
    ++	test "$(cat "$expensive_lock_" 2>/dev/null)" = "$1" &&
    ++	rm -f "$expensive_lock_"
    ++}
    ++
     +# This function takes care of cleaning up the lock we
     +# acquire in acquire_expensive_lock_. It is defined
     +# up here as we refer to it in die().
     +release_expensive_lock_ () {
     +	test -n "$have_expensive_lock_" || return 0
    -+	rm -f "$expensive_lock_"
    ++	remove_expensive_lock_owned_by_ $$
     +	have_expensive_lock_=
     +}
     +
    @@ t/test-lib.sh: fail_117 () {
     +have_expensive_lock_=
     +
     +expensive_lock_unavailable_ () {
    -+	say >&3 "cannot take the EXPENSIVE lock, running anyway"
    ++	echo >&2 "# cannot take the EXPENSIVE lock, running anyway"
     +	rm -f "$expensive_lock_.$$"
     +}
     +
     +acquire_expensive_lock_ () {
     +	local owner waited= tmp="$expensive_lock_.$$" misses=0
    ++
     +	mkdir -p "$TEST_RESULTS_DIR" ||
     +	{ expensive_lock_unavailable_; return 0; }
    ++
     +	# The lock is a hard link to a file that already holds our PID, so
     +	# it never exists without its owner recorded in it. Remove any
     +	# $tmp left by a dead process with our PID first: it may still be
    @@ t/test-lib.sh: fail_117 () {
     +	rm -f "$tmp"
     +	echo $$ >"$tmp" ||
     +	{ expensive_lock_unavailable_; return 0; }
    ++
     +	while ! ln "$tmp" "$expensive_lock_" 2>/dev/null
     +	do
     +		if ! test -f "$expensive_lock_"
    @@ t/test-lib.sh: fail_117 () {
     +			expensive_lock_unavailable_
     +			return 0
     +		fi
    ++
     +		misses=0
    ++
     +		owner=$(cat "$expensive_lock_" 2>/dev/null)
     +		# A lock carrying our own PID was left by a dead holder whose
     +		# PID we were given again; we know we do not hold it.
    @@ t/test-lib.sh: fail_117 () {
     +			#
     +			# Another waiter may have taken it over since we
     +			# looked, so only remove it if it is still the same.
    -+			if test "$(cat "$expensive_lock_" 2>/dev/null)" = "$owner"
    ++			#
    ++			# Rarely, after a holder is killed, two waiters can
    ++			# both get past this check and run together.
    ++			if remove_expensive_lock_owned_by_ "$owner"
     +			then
    -+				rm -f "$expensive_lock_"
    ++				echo >&2 "# removing stale EXPENSIVE lock left by PID $owner"
     +			fi
     +			continue
     +		fi
    ++
     +		if test -z "$waited"
     +		then
    -+			say >&3 "waiting for another EXPENSIVE test to finish"
    ++			echo >&2 "# waiting for EXPENSIVE lock held by PID $owner"
     +			waited=t
     +		fi
    ++
     +		sleep 1
     +	done
    ++
     +	have_expensive_lock_=t
     +	rm -f "$tmp"
     +}
2:  d5216ec6f8 < -:  ---------- t0000: test taking over and releasing the EXPENSIVE lock
---
 t/README         |   8 ++++-
 t/t0000-basic.sh |  57 +++++++++++++++++++++++++++++++
 t/test-lib.sh    | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 165 insertions(+), 1 deletion(-)

diff --git a/t/README b/t/README
index fd7e8504b5..824783acfa 100644
--- a/t/README
+++ b/t/README
@@ -117,7 +117,13 @@ appropriately before running "make". Short options can be bundled, i.e.
 -l::
 --long-tests::
 	This causes additional long-running tests to be run (where
-	available), for more exhaustive testing.
+	available), for more exhaustive testing. These tests can use a
+	lot of memory, so only one of them runs at a time, even
+	when several test scripts run in parallel (e.g. "prove --jobs").
+	They take turns through a lock file, "expensive.lock" in the
+	test-results directory. A lock left behind by a killed test
+	script is cleared by the next one that needs it. If the lock
+	cannot be created at all, the test runs anyway.
 
 -r::
 --run=<test-selector>::
diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh
index 7bd1f4e7b7..c78805e9a2 100755
--- a/t/t0000-basic.sh
+++ b/t/t0000-basic.sh
@@ -746,6 +746,63 @@ test_expect_success 'subtest: lazy prereqs do not turn off tracing' '
 	test_grep "echo trace" lazy-prereq-and-tracing/err
 '
 
+test_expect_success 'subtest: EXPENSIVE lock of a dead holder is taken over' '
+	write_sub_test_lib_test expensive-lock-dead <<-\EOF &&
+	test_expect_success EXPENSIVE "holds the lock" "
+		echo $$ >expect &&
+		test_cmp expect \"$TEST_RESULTS_DIR/expensive.lock\"
+	"
+	test_done
+	EOF
+	mkdir expensive-lock-dead/test-results &&
+	pid=$(sh -c "echo \$\$") &&
+	echo $pid >expensive-lock-dead/test-results/expensive.lock &&
+	run_sub_test_lib_test expensive-lock-dead --long &&
+	check_sub_test_lib_test_err expensive-lock-dead \
+		<<-\EOF_OUT 3<<-EOF_ERR &&
+	> ok 1 - holds the lock
+	> # passed all 1 test(s)
+	> 1..1
+	EOF_OUT
+	> # removing stale EXPENSIVE lock left by PID $pid
+	EOF_ERR
+	test_path_is_missing expensive-lock-dead/test-results/expensive.lock
+'
+
+test_expect_success 'subtest: EXPENSIVE lock carrying our own PID is taken over' '
+	write_sub_test_lib_test expensive-lock-own-pid <<-\EOF &&
+	mkdir -p "$TEST_RESULTS_DIR" &&
+	echo $$ >"$TEST_RESULTS_DIR/expensive.lock" &&
+	echo $$ >"$TEST_RESULTS_DIR/pid"
+	test_expect_success EXPENSIVE "takes the lock" "true"
+	test_done
+	EOF
+	run_sub_test_lib_test expensive-lock-own-pid --long &&
+	pid=$(cat expensive-lock-own-pid/test-results/pid) &&
+	check_sub_test_lib_test_err expensive-lock-own-pid \
+		<<-\EOF_OUT 3<<-EOF_ERR &&
+	> ok 1 - takes the lock
+	> # passed all 1 test(s)
+	> 1..1
+	EOF_OUT
+	> # removing stale EXPENSIVE lock left by PID $pid
+	EOF_ERR
+	test_path_is_missing expensive-lock-own-pid/test-results/expensive.lock
+'
+
+test_expect_success 'subtest: EXPENSIVE lock is released when exiting mid-test' '
+	write_sub_test_lib_test expensive-lock-exit <<-\EOF &&
+	test_expect_success EXPENSIVE "exits holding the lock" "
+		test_path_is_file \"$TEST_RESULTS_DIR/expensive.lock\" &&
+		exit 1
+	"
+	test_done
+	EOF
+	run_sub_test_lib_test_err expensive-lock-exit --long &&
+	test_grep "FATAL: Unexpected exit" expensive-lock-exit/out &&
+	test_path_is_missing expensive-lock-exit/test-results/expensive.lock
+'
+
 test_expect_success 'subtest: tests clean up after themselves' '
 	write_and_run_sub_test_lib_test cleanup <<-\EOF &&
 	clean=no
diff --git a/t/test-lib.sh b/t/test-lib.sh
index c56654b7c5..c332e50ec0 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -778,12 +778,30 @@ test_missing_prereq=
 
 test_external_has_tap=0
 
+# Remove the lock only if it still names $1 as its owner, so that
+# a lock someone else has just taken is left alone.
+remove_expensive_lock_owned_by_ () {
+	test "$(cat "$expensive_lock_" 2>/dev/null)" = "$1" &&
+	rm -f "$expensive_lock_"
+}
+
+# This function takes care of cleaning up the lock we
+# acquire in acquire_expensive_lock_. It is defined
+# up here as we refer to it in die().
+release_expensive_lock_ () {
+	test -n "$have_expensive_lock_" || return 0
+	remove_expensive_lock_owned_by_ $$
+	have_expensive_lock_=
+}
+
 die () {
 	code=$?
 	# This is responsible for running the atexit commands even when a
 	# test script run with '--immediate' fails, or when the user hits
 	# ctrl-C, i.e. when 'test_done' is not invoked at all.
 	test_atexit_handler || code=$?
+	release_expensive_lock_
+	test -z "$expensive_lock_" || rm -f "$expensive_lock_.$$"
 	if test -n "$GIT_EXIT_OK"
 	then
 		exit $code
@@ -1089,6 +1107,82 @@ fail_117 () {
 	return 117
 }
 
+# EXPENSIVE tests may need many gigabytes of memory, so two of them
+# running at the same time can exhaust the machine.
+#
+# Allow only one at a time across all test scripts that share
+# this TEST_OUTPUT_DIRECTORY.
+expensive_lock_="$TEST_RESULTS_DIR/expensive.lock"
+have_expensive_lock_=
+
+expensive_lock_unavailable_ () {
+	echo >&2 "# cannot take the EXPENSIVE lock, running anyway"
+	rm -f "$expensive_lock_.$$"
+}
+
+acquire_expensive_lock_ () {
+	local owner waited= tmp="$expensive_lock_.$$" misses=0
+
+	mkdir -p "$TEST_RESULTS_DIR" ||
+	{ expensive_lock_unavailable_; return 0; }
+
+	# The lock is a hard link to a file that already holds our PID, so
+	# it never exists without its owner recorded in it. Remove any
+	# $tmp left by a dead process with our PID first: it may still be
+	# linked to that process's lock, which writing to it would empty.
+	rm -f "$tmp"
+	echo $$ >"$tmp" ||
+	{ expensive_lock_unavailable_; return 0; }
+
+	while ! ln "$tmp" "$expensive_lock_" 2>/dev/null
+	do
+		if ! test -f "$expensive_lock_"
+		then
+			# Nobody holds the lock, yet we cannot create it (no
+			# hard links, disk full, ...). Retry in case it was
+			# just released, then run anyway rather than wait
+			# forever.
+			misses=$((misses + 1))
+			test $misses -lt 3 && continue
+			expensive_lock_unavailable_
+			return 0
+		fi
+
+		misses=0
+
+		owner=$(cat "$expensive_lock_" 2>/dev/null)
+		# A lock carrying our own PID was left by a dead holder whose
+		# PID we were given again; we know we do not hold it.
+		if test -n "$owner" &&
+		   { test "$owner" = $$ || ! kill -0 "$owner" 2>/dev/null; }
+		then
+			# The holder was killed without releasing the lock.
+			#
+			# Another waiter may have taken it over since we
+			# looked, so only remove it if it is still the same.
+			#
+			# Rarely, after a holder is killed, two waiters can
+			# both get past this check and run together.
+			if remove_expensive_lock_owned_by_ "$owner"
+			then
+				echo >&2 "# removing stale EXPENSIVE lock left by PID $owner"
+			fi
+			continue
+		fi
+
+		if test -z "$waited"
+		then
+			echo >&2 "# waiting for EXPENSIVE lock held by PID $owner"
+			waited=t
+		fi
+
+		sleep 1
+	done
+
+	have_expensive_lock_=t
+	rm -f "$tmp"
+}
+
 test_run_ () {
 	test_cleanup=:
 	expecting_failure=$2
@@ -1103,6 +1197,12 @@ test_run_ () {
 		fi
 	fi
 
+	case ",$test_prereq," in
+	*,EXPENSIVE,*)
+		acquire_expensive_lock_
+		;;
+	esac
+
 	setup_malloc_check
 	test_eval_ "$1"
 	eval_ret=$?
@@ -1115,6 +1215,7 @@ test_run_ () {
 		test_eval_ "$test_cleanup"
 		teardown_malloc_check
 	fi
+	release_expensive_lock_
 	if test "$verbose" = "t" && test -n "$HARNESS_ACTIVE"
 	then
 		echo ""

---
base-commit: 566b6997dd4710b625c0882cf10a7443bf52d183
change-id: 20261117-ks-ci-long-test-hang-fix-008e72fd40c6
Technical Details
Message-ID: <20261202-ks-ci-long-test-hang-fix-v5-1-aeb09e4dbc25@gmail.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-76823-linux-kernel-git=dewy.ru
References: <20261119-ks-ci-long-test-hang-fix-v1-1-45c2fff6d9f0@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-76823-linux-kernel-git=dewy.ru
From: kaartic.sivaraam@gmail.com (Kaartic Sivaraam)
Newsgroups: linux.kernel.git
Subject: [PATCH v5] test-lib: run EXPENSIVE tests one at a time
Date: Wed, 02 Dec 2026 01:23:30 +0530
Organization: Usenet Network
Message-ID: <20261202-ks-ci-long-test-hang-fix-v5-1-aeb09e4dbc25@gmail.com>
References: <20261119-ks-ci-long-test-hang-fix-v1-1-45c2fff6d9f0@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="1807404"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:FlcLE9s3L4FsQ8LS/fWvoS+PT/g= sha256:ynnNPTFOBWq8PcuiNCF3t4XYEQV/TeVNPSgUAlwr7mo=
	sha1:H02wfk+EvIs6szV0NZ4irIOvy8Y= sha256:/zhny6uYyY4P3MNWJdzpTOqgTg0regLZs+xkIO2JCx4=
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 7CFD211748A; Tue,  1 Dec 2026 22:54:24 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.048
X-Spam-Status: No, score=-3.048 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id qMCVlINuJmIV;
	Tue,  1 Dec 2026 22:54:20 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-76823-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id B0B4B11747B; Tue,  1 Dec 2026 22:54:10 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 48F8D26A4A; Tue,  1 Dec 2026 19:54:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796154848;
	b=t5kLFy47dOhFZWTPXhGpTlBRbFjRGUmV2PB65olsfCeQ0lqt8ApzrQ4i5amLz2M+lR04
	 jUvnym4WbA1BrGmkhPFG96AgdVSUzUh0enMgh8J8rk1GMuAylE6900/2BJoPX3TilVvDJ
	 b9r9ETFxRGmVZGlt0v2o5etXTRO4wlQUcHpDshE64Q2lw1Ty5lXm+4lRCEGaa8W+86zEF
	 yL05nWTI0LiWfq5K3t/RlSFaiP2+U9K2DZjfxm4HGGLDGs/yqJDUBobKg2d+jLlpPU7sZ
	 c4RPAccv/ZW38LMegfmn1r/0AuOXTBGvAx9Mx3NaCY9o+XabGsPO5N86y7oVkmdYzbQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796154848;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 Received:From:Date:Subject:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Type:Content-Transfer-Encoding:Message-Id:X-B4-Tracking:
	 X-Change-ID:In-Reply-To:References:To:Cc:X-Mailer;
	bh=8xNqx+1lC0nyxUlkinKmU2a8vHru6Guq/dnNpepZUWo=;
	b=PBPPS1dM5T7t5s7wClI8WoSW1IKLkgNFh/4KUHBaPL0iGgs3Up1XjOqyG5KVVoCszMEe
	 3Culi2KtsGz8gkdNLGLVV6brG85NgQGi9mABi+bd05rtxAueVqJSnz4KLckXdwMeLmLvy
	 /qGo0zhgagQZ1nLd/n7bVCMwmp3wd3EtLqVonARQ7FYNhq5c8hEQCRNJVeH+cRl+wdCpk
	 KpdfWVCUx7iz3yk+bWfbF2F73IslAuCUAiBNB3UO+MEkOADroUqdQsrxCbaQK1lvJsNhW
	 GXb5nAJmHDilLqD7ewLv/so0Xm9CffYwNz7f3KTXhtVfIrT1sZ8kr3pN+252Vk+PpyQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=uTWhinfa;
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 215B9606A32A;
	Tue,  1 Dec 2026 19:54:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=uTWhinfa
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.172
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796154847;
	b=pnTNt5iLl3PIriQAm7lO6EqkUaDF5sAGlio+RU5PQFa35bYlw/aQHLP8GwvMecwmHY1t
	 GLdj+DfBZxWZM8R+WGHQYroaBL5ifFmX1argm/TpFWb4anu9QM8519mX6iL/W8b3PpPo7
	 w/ITu5nZC5sVMD52Gc6butsslIkS1xDvOceJ3ubveT7eJX58OsOlbbsD6lxalxhnrZIr0
	 vgZLbZvDPA50q1SheUcsVNaSmNRfo28PjY64rdZLMzT8n0HynS3b1HlSSH0xxnAXRL83Y
	 zYCZx+Ft78ObFoL1mjP3t/tucEme5nDci9SUNwIBxk9nGbjfNlLtLvu+2CHdZZGRQ5g==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796154847;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:Date:Subject:
	 MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:
	 X-B4-Tracking:X-Change-ID:In-Reply-To:References:To:Cc:X-Mailer;
	bh=8xNqx+1lC0nyxUlkinKmU2a8vHru6Guq/dnNpepZUWo=;
	b=4GRXg6RRpKeum74QiTbY+YSckG6J0adBjXVxTP9+AfApOKGJs4soa+pbE0L/aRBRNq1P
	 e+a/9CEQO7V5ohxMCvYM4vABipEaG+rW0MQW8XP5opeDkn7nrtmD/0bHgd3x1PEmtzfsl
	 MmOTDAFh/IF70LL6F0ccIACGFjdMt7dlNEDvoVlCXskSv3viAoTaYE1F4ukoTx+MFc5a0
	 iTquKi3rK+gUJxVhSKQ6tyMrTOa2gVVAkoHf300fcaHlsdAWJK0N16YFqIrh27iEP5jaW
	 c511gBuSkvXm50JGw2i5FF5lLHgqihNxCmkXIquSXb4fhBi6GC2ApMzR8p4GqOIXGaA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=uTWhinfa;
	arc=none smtp.remote-ip=74.125.82.172
X-Received: from mail-dy1-f172.google.com (mail-dy1-f172.google.com [74.125.82.172])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id A7A1A606A31A
	for <git@vger.kernel.org>; Tue,  1 Dec 2026 19:54:06 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A7A1A606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-dy1-f172.google.com with SMTP id 5a478bee46e88-380c28f9e35so12902716eec.1
        for <git@vger.kernel.org>; Tue, 01 Dec 2026 11:54:06 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1796154846; x=1796759646; darn=vger.kernel.org;
        h=cc:to:references:in-reply-to:message-id:content-transfer-encoding
         :content-type:mime-version:subject:date:from:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=8xNqx+1lC0nyxUlkinKmU2a8vHru6Guq/dnNpepZUWo=;
        b=uTWhinfaqDKlLuD/nyO9xWswnph8LjUiEjplJYOo27+doLwqcRTK2Xz524POzR9lQd
         57UlOfBBoqLpdy+0MKQt8Fk0EelY+7X8Zk2K1u4YdbFwwz8jBcB2x3mMlipPoQR5Bm6d
         h//BWaviQGJ921FsCgbOBKxmaU2r/cdR04MZoqRy8cxdlRjv0mvKSmN+EwWwfbCaC8l1
         /7pX04c9HqFmJkiOOhezXwHHvkx60kc3Xl0UiPi1sEb0X8Aft8Cy4funodGCCZ09lIcx
         +YDZw0N3z9FTcWRuv32iwQZJE3ZlOXakwdcuyoik1ALzzjXO2eK91UwrfGPk1ZrCVRxD
         xh8g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1796154846; x=1796759646;
        h=cc:to:references:in-reply-to:message-id:content-transfer-encoding
         :content-type:mime-version:subject:date:from:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=8xNqx+1lC0nyxUlkinKmU2a8vHru6Guq/dnNpepZUWo=;
        b=f871UNoPMpRbq6bk/jUawkyRVLKFGHBEh180evnym4hopYLRfQPlNHwHKATA1L3AHq
         hjpUKM/g8cd62PY7fHX9ZSZYmok4mZ3hSQvMSv0HR79z6bNz260YAIGJo4X0YAqpEv99
         G4LC/N+QAh4eihS3psTZQdQBT4YZZqLKXQxaIyd900BDfcq+hnNWHOf9zd5aqKkqvPRl
         5VuiUXkegTbdMpQd7R6c+62lUKMjYmGY0ZW/C9TO5x4vvRAUtrJf5uQdRAyKFbWuN4Kp
         ZpMAs1H+SqsCD73ReBqT9V4zzPdvAFcWYix4/woY78AHNiCZAXg9aj5jRnOl+xFel98V
         8Z/g==
X-Gm-Message-State: APuU4Z+0devGaaDEiQrHqtBSVaAEurL2UNICf+E+7FVbAofkuKsr6+Cq
	ZRIiCk0YtdhR36ajuONL4zwCcj+8UEGUbd4tFC+SVNGp+RDmon9fNUVh
X-Gm-Gg: AZFdTZf6XLvOsaI40Xu9bn64A1kHxkkYWAM2lwDphHMefTOefHj5jj1VtcMHijhhjJt
	db6znt5PygcgpMI/vTxwK0sYiUO+UiafdbCxmwkIPCF4ZUF0oYDMeN7VwnenCKIcUimksQ1gFny
	FAAtVCrc09HaJtkqDHsLq6Rf3sO1RUq2QWvZxy2+rWLdGPXjs/Dvwbjxcb1rCQvGe7HFDgy6dR8
	idpfnR/+LRRJyCl5UqgRQ3ZkfJp5ypuc/ohhRgpGa3VrSBwRJTGinWz9C9VqD+1w35HmalSC+LF
	ezrrd4s0DvASrzTBq9r58Eo8GLpk3jou2UqucEHcb89T3DnGplWuDM/woBWh2XGrWCK2Hkr0H1/
	+vyG2ZOXQrjKy8Q5B+NbrVk0nwn7JHNf6A/gZJM1zQ8WychJPB987qFtSQ8eFsgiJZAnEKsgttT
	HbZInubh85lKaEW3QDxzFUO/KCkZmTSiHwUW6+dQtH7cLdQuZpVIV26T5nyaYjtUNotRZ6NC0ky
	9puOQydM+IFEdvlxSPu4raCYkfTyAbTRJ9GQ2y0rVcojk22he60cAGtRzmY/wgAkJ3VniDkAg5E
	tO3v5Hj0Rto7fdsltzF3DctaQY0hlzLF2IsY9KU=
X-Received: by 2002:a05:7301:7187:b0:386:bd8:7abb with SMTP id 5a478bee46e88-3860bd889c6mr35752483eec.11.1796154845340;
        Tue, 01 Dec 2026 11:54:05 -0800 (PST)
X-Received: from [127.0.1.1] ([2406:7400:12b:ed80:6b04:1863:e505:71a1])
        by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385666e7fc3sm99144607eec.8.2026.12.01.11.54.02
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Tue, 01 Dec 2026 11:54:04 -0800 (PST)
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list
X-B4-Tracking: v=1; b=H4sIALolD2sC/43QTWrDMBAF4KsErTthZuTYcla5R+lC1o+jNrGD5
 YqW4LtXSiiYQEOXTzx9D+kqopuCi2K/uYrJpRDDOOSwe9kIc9RD7yDYnAUj10TUwEcEE+A0Dj3
 MLs5QSuDDFyAq17C3FZpa5OuXyeXjG/36ds/xs3t3Zi5eaRxDnMfp+7adqPR+Z9q/ZxIBQbUz7
 L2vbevx0J91OG3NeBZlJvF/Ic6QbJDIoJIK7SMkVxA/eXiSGWqpY62NYk3mEarWkHoCVYDg8yd
 32lp2JNfQsiw/SjLiLq0BAAA=
X-Change-ID: 20261117-ks-ci-long-test-hang-fix-008e72fd40c6
X-In-Reply-To: <20261119-ks-ci-long-test-hang-fix-v1-1-45c2fff6d9f0@gmail.com>
X-Cc: Christian Couder <christian.couder@gmail.com>, 
 Patrick Steinhardt <ps@pks.im>, Junio C Hamano <gitster@pobox.com>, 
 Harald Nordgren <haraldnordgren@gmail.com>
X-Mailer: b4 0.16.0