From: Junio C Hamano <gitster@pobox.com>
To: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
Cc: Git mailing list <git@vger.kernel.org>, Patrick Steinhardt <ps@pks.im>
Subject: Re: [PATCH v2] test-lib: run EXPENSIVE tests one at a time
Date: Wed, 25 Nov 2026 12:21:58 -0800 [thread overview]
Message-ID: <xmqq8q2g1x21.fsf@gitster.g> (raw)
In-Reply-To: <781ae43f-7831-4aa7-a7a0-aee069950eac@gmail.com> (Kaartic Sivaraam's message of "Tue, 24 Nov 2026 19:04:41 +0530")
Kaartic Sivaraam <kaartic.sivaraam@gmail.com> writes:
> That's a good catch. I suppose setting the have_expensive_lock_ variable
> before writing the pid to the file, the issue should be sufficiently
> averted. That's because release_expensive_lock_ would proceed with
> removal of the directory even if we fail to write the pid file.
> ...
> I'm not sure if we need to go down the rabbit hold of fixing those too
> without actually facing those issues. I suppose it may be better to get
> the jobs running with a version of the patch that includes the above
> changes and look into further changes as we notice any more issues. I
> would love to hear your thoughts.
If we open ourselves to a possible deadlock, then it will be a serious
regression. If our locking is leaky or buggy and allows multiple
processes to run simultaneously, that is the same as the status quo, so
as long as we kill the deadlock this proposed version introduces in the
updated version, I will be happy.
Thanks.
next prev parent reply other threads:[~2026-11-25 20:22 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 7:40 [PATCH] test-lib: run EXPENSIVE tests one at a time Kaartic Sivaraam
2026-11-19 10:07 ` Patrick Steinhardt
2026-11-19 17:12 ` Kaartic Sivaraam
2026-11-19 17:29 ` [PATCH v2] " Kaartic Sivaraam
2026-11-19 17:33 ` Kaartic Sivaraam
2026-11-20 6:28 ` Junio C Hamano
2026-11-24 13:34 ` Kaartic Sivaraam
2026-11-25 20:21 ` Junio C Hamano [this message]
2026-11-27 13:59 ` Kaartic Sivaraam
2026-11-27 18:34 ` Junio C Hamano
2026-11-25 19:09 ` Harald Nordgren
2026-11-27 17:23 ` [PATCH v3] " Kaartic Sivaraam
2026-11-27 20:46 ` Junio C Hamano
2026-11-28 8:06 ` Kaartic Sivaraam
2026-11-28 14:57 ` [PATCH v4 0/2] test-lib: serialize EXPENSIVE tests to avoid OOM in CI Kaartic Sivaraam
2026-11-28 14:57 ` [PATCH v4 1/2] test-lib: run EXPENSIVE tests one at a time Kaartic Sivaraam
2026-11-29 16:55 ` Junio C Hamano
2026-11-30 14:13 ` Christian Couder
2026-12-01 10:14 ` Kaartic Sivaraam
2026-12-01 11:10 ` Christian Couder
2026-12-01 12:34 ` Kaartic Sivaraam
2026-12-01 7:22 ` Patrick Steinhardt
2026-12-01 8:47 ` Kaartic Sivaraam
2026-12-01 11:07 ` Patrick Steinhardt
2026-12-01 12:50 ` Kaartic Sivaraam
2026-12-01 13:19 ` Patrick Steinhardt
2026-11-28 14:58 ` [PATCH v4 2/2] t0000: test taking over and releasing the EXPENSIVE lock Kaartic Sivaraam
2026-12-01 7:23 ` Patrick Steinhardt
2026-12-01 8:49 ` Kaartic Sivaraam
2026-12-01 19:53 ` [PATCH v5] test-lib: run EXPENSIVE tests one at a time Kaartic Sivaraam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqq8q2g1x21.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=kaartic.sivaraam@gmail.com \
--cc=ps@pks.im \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.