Article View: linux.kernel.git
Article #970Re: FYI, git output messages are being used by other tooling
From: "Theodore Tso"
Date: Tue, 20 Oct 2026 22:48
Date: Tue, 20 Oct 2026 22:48
47 lines
10702 bytes
10702 bytes
On Tue, Oct 20, 2026 at 09:28:10PM -0500, Kristoffer Haugsbakk wrote:
> > Where returning 0 means the bad commit has been found.
> > Otherwise it keeps looping.
>
> Is this different from git bisect run?
"git bisect run" isn't always the best way to manage a bisection. For
example, I might run a command like:
gce-xfstests ltm -c ext4/4k,ext4/1k generic/245 --repo stable-gc.git \
--bisect-good v6.18.57 --bisect-bad queue/6.18
This results in an RPC call to the Lightweight Test Manager (ltm),
which is a micro VM running in Google Compute Engine. If there isn't
a Kernel Compile Service (kcs) VM already launched, the ltm VM will
launch a much larger build VM. Once the kcs VM is ready, the bisect
request is then forwarded to the kcs VM. The kcs VM will check out
relevant repo, run "git bisect start", and will do the build. Once
the kernel is built, it then sends a RPC to the ltm VM, and the ltm VM
will launch one or more test VM's (in above example, one for the
ext4/4k config, and one of the ext4/1k config). The ltm VM will
monitor the serial console of the systems under test, so if the kernel
hangs, the ltm VM can force reboot a failing VM and either continue
with the next text (if there is more than one test that is being run).
If we are doing a bisect, then the ltm VM will send a bisect update to
the kcs VM via an RPC.
This architecture allows multiple biseccts or test watches to be
managed by a single ltm VM and (if necessary the kcs VM --- the kcs VM
will shut itself down if it's not needed to save on cloud costs).
So yeah. Sometimes "git bisect run" isn't really enough, and it would
be useful to have a way for programs to be able to call other "git
bisect" subcommands, and have a standardized way to get the results
from the command without having to just parse the output and be
dependant on the precise format of the human-readable output.
Cheers,
- Ted
P.S. For more information about how my test appliance works, and the
other features/functionality of the ltm VM, see [1] and [2].
[1] https://thunk.org/gce-xfstests
[2] https://github.com/tytso/xfstests-bld/blob/master/Documentation/gce-xfstests.md
Technical Details
Message-ID:
<atfmYYtUii4gWIIH@mit.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-72622-linux-kernel-git=dewy.ruReferences:
<20261020141011.0015d172@gandalf.local.home> <xmqq8q3sw75e.fsf@gitster.g> <20261020152354.165ad128@gandalf.local.home> <83c59078-f6f1-456a-a99b-688eaf56bab0@app.fastmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-72622-linux-kernel-git=dewy.ru
From: tytso@mit.edu ("Theodore Tso")
Newsgroups: linux.kernel.git
Subject: Re: FYI, git output messages are being used by other tooling
Date: Tue, 20 Oct 2026 18:48:36 -0400
Organization: Usenet Network
Message-ID: <atfmYYtUii4gWIIH@mit.edu>
References: <20261020141011.0015d172@gandalf.local.home>
<xmqq8q3sw75e.fsf@gitster.g>
<20261020152354.165ad128@gandalf.local.home>
<83c59078-f6f1-456a-a99b-688eaf56bab0@app.fastmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
logging-data="3985553"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:vy5RPw/NPYlUZhuqhmVOpfU90Q8= sha256:Xf4NfGRGCJfGriA0Glp5xx5rvxczjMx7Ekq039AS/Z4=
sha1:r8UnCjwPoDM5BmTTftnT/WLSC2w= sha256:3OM8IdFSXfiXlR/YdIBtHCkL91z3uzRfW6kSoQ7Hj7Y=
Content-Disposition: inline
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 2ED83110E91; Wed, 21 Oct 2026 01:50:35 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.149
X-Spam-Status: No, score=-3.149 tagged_above=-9999 required=6.31
tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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=mit.edu
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 h25Y2mVYz5W0;
Wed, 21 Oct 2026 01:50:31 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=git+bounces-72622-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=mit.edu
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mail.dewy.ru (Postfix) with ESMTPS id 1952C110E79; Wed, 21 Oct 2026 01:50:21 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sto.lore.kernel.org (Postfix) with ESMTP id A75FB613E4C; Tue, 20 Oct 2026 22:50:18 +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=1792536614;
b=rYhfbuvZzmsXmPIv2lIldskr+WKsWbzNbbXrUQ0OQShXMhWR3qxERZVC+jb/ZgUPsqrG
ucgVRJ3KT+ga3EHZReI3jtGoBgLdnbm5MmF5Cl/917tc/SC6jJY4dDyO2IZxpVQp8FsFh
IGKaFkdTzmf6r0UCf1J65qJMGMfUD10XbKmhyPFFEOZloNx8HYqOWJX36Ld/Z7VipF2pU
MVsmejhf+0qO1XMgYIc2WsIWXQvOH1XFzFNoto6jrYD/FAVjITCUX6dxpaA3UUDp28COq
GpiP+74w5cLuZLsssLb3GNexIp6vUWS3U3hcFBLMhzb/lw0a+cR6uPwQTcwYRxetzRw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792536614;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:Received:
Date:From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
bh=oZiXrRKvQcXJbnmZKNbeBglyOf7giCIx7g21DfvxHeM=;
b=q9anhJXZLURBv4oMY6O9X/my8KGrXhpwv4ejYKbLG/KMPgy+HpLjp4Q8FqDbpFXzv35i
JSNvAUweQw4/MXMR4zsCnoIMB+gLCm6KHVmCI4Ldfe+9ssgMpZnqDqEgF2bUGj+5h0k6n
lCipYX+zhxzAMPfXFoJUpHzVP98+Oue8EZIyXFxaEc5MnBcJSJWWUvkP7cFK/b8WI6WCi
JegKQFLSp3GfZoa+ZCxotgStPK/MfEonfSsh7/KxCnbth5Zc3xYFvNqeDE5YFV0hSLC49
9b5PLSg3l1XYiMkBsfLnBHXrwy7cy4vk3zL+NPjLdBx2ro/fOddLGPuDBSBxPMGTn6w==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=mit.edu header.i=@mit.edu header.a=rsa-sha256 header.s=outgoing header.b=KVDCNzG4;
dmarc=pass header.from=mit.edu;
spf=pass smtp.mailfrom=mit.edu;
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 4B29060A2603;
Tue, 20 Oct 2026 22:50:14 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=mit.edu header.i=@mit.edu header.a=rsa-sha256 header.s=outgoing header.b=KVDCNzG4
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=18.9.28.11
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1792536613;
b=nfDjen40F+LY83uVXEzxUpArBFQ+JZmpsx30UVK7FRSJBSINYU+pDTI8ezVOYTyFgqkz
2r7VoqTS+ygRxCCwJnZDl+M035Mz1oThSxfskcQLzqrWSoi1B61Q8sforqvJIDZJBJvTC
hRH6HpXZIuW/dCQQPVGVxuRTg1qzo+e5cZZW+enAobCBNzIt/4bX2CvWgPRlQxK2LKT9b
7nY6Bg+HqFfo5nKmUr/umQKnZlbfYRDHqqaVXxt5fB5JqqsWggRTasT4LvAjW8L0fK++0
TJ6QFoebih27q7Y4YwsgCyMLJA5iNyc9JIyHV9EXlD9O6LeUsev6X1ShF+De3Yv7N7w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792536613;
h=DMARC-Filter:Received:DKIM-Signature:Received:Date:From:To:Cc:
Subject:Message-ID:References:MIME-Version:Content-Type:
Content-Disposition:In-Reply-To;
bh=oZiXrRKvQcXJbnmZKNbeBglyOf7giCIx7g21DfvxHeM=;
b=hjZx6yQm3fNyxIWZSdyphpns9OEirfAH27cGrgrpikPWmOzc55sjXAXheaxzFZTQ5dTz
5C5nHoARaTBBpNZfZFrCoBS1dkAXt8vUQ+qmeDq2fCuWCwsFoxZm5Tc9nhGq1mlSNzAHr
RlLg6wSko4wQ9yyIkjzb3ljwA477pw2jDzxrT97bp9qn0diaVb+JmnqkCfHW4dz9RRMSI
XAPE0+Kq6/RXwBQaebhyB0oscWoh/nxgSaSE+GNTZXQ+gNE4j4u+DxE6FJ7jueTe8yhZg
+SbYIgRR5B7TKdR+L8fl0Ldp1lZnBxWRb9bjii/YEshGB4fZYKJIijLqmwtvkk3mh3g==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=mit.edu;
spf=pass smtp.mailfrom=mit.edu;
dkim=pass header.d=mit.edu header.i=@mit.edu header.a=rsa-sha256 header.s=outgoing header.b=KVDCNzG4;
arc=none smtp.remote-ip=18.9.28.11
X-Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])
(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B43E606A31D
for <git@vger.kernel.org>; Tue, 20 Oct 2026 22:50:12 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8B43E606A31D
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mit.edu
X-Received: from macsyma.thunk.org (pool-173-48-113-115.bstnma.fios.verizon.net [173.48.113.115])
(authenticated bits=0)
(User authenticated as tytso@ATHENA.MIT.EDU)
by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 69KMnbMs016711
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
Tue, 20 Oct 2026 18:49:38 -0400
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing;
t=1792536580; bh=oZiXrRKvQcXJbnmZKNbeBglyOf7giCIx7g21DfvxHeM=;
h=Date:From:Subject:Message-ID:MIME-Version:Content-Type;
b=KVDCNzG4S3KuvOFjvzAKI2mVLHr+XqNSBP/1MyhAZyTHWdXKlM+d1ClZw2C2IJug8
HYBcBAuywcR7D/JgGFztfETkJ4ndtAyX6+OpzmG12NxJPtRUFs9IYEuj8kEiIooxCe
VVIQyU+KBG3XxP1fye9bt5PeZAVZaGWGkBFV+pd+opyQ9m3Pcky5qq1KBCwuAATnnW
+G1vcDGAjUU3OZFODM2ijPhuYv4iGLe+j2p0Ifkx8QxdmODAsSfx9T8XK++wSPgOuw
8gEyG7gWlLSvCRI7idTscavVdMALKTcRfQ+NcmOcuxIb8aycbXaKSW1mgZ5mICBlul
j4mmFiS/9Pc3A==
X-Received: by macsyma.thunk.org (Postfix, from userid 15806)
id 0A5BE21C98B6; Tue, 20 Oct 2026 18:48:37 -0400 (EDT)
X-Cc: Steven Rostedt <rostedt@goodmis.org>, Junio C Hamano <gitster@pobox.com>,
git@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
Jonas Rebmann <kernel@schlaraffenlan.de>,
Ricardo B. Marlière (SUSE) <ricardo@marliere.net>
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-In-Reply-To: <83c59078-f6f1-456a-a99b-688eaf56bab0@app.fastmail.com>