Article View: linux.kernel.git
Article #2502[PATCH 0/2] t5608: assert that the packs involved really are that large
From: "Kristofer Karlsson via GitGitGa...
Date: Fri, 06 Nov 2026 12:51
Date: Fri, 06 Nov 2026 12:51
26 lines
11582 bytes
11582 bytes
I was looking at which tests take the most time in CI, and t5608 stood out when (unscientifically) spot-checking a single run. Profiling its setup showed that it does not actually create the >2GB pack that the test's name promises. While adding assertions for that, it turned out that the unpack-objects variant of the >4GB test never runs unpack-objects either. Once it does, it fails on Windows, because unpack-objects narrows the size of a streamed blob to "unsigned long" on its way to the object writer. The first patch fixes that. Kristofer Karlsson (2): unpack-objects: pass the size of a streamed blob as size_t t5608: assert that the packs involved really are that large builtin/unpack-objects.c | 2 +- t/t5608-clone-2gb.sh | 54 ++++++++++++++++++++++++++++++---------- 2 files changed, 42 insertions(+), 14 deletions(-) base-commit: 0ffa3e35c7c82ab8d0de226149fb03b3f7674d05 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-2299%2Fspkrka%2Ft5608-real-2gb-pack-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-2299/spkrka/t5608-real-2gb-pack-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/2299 -- gitgitgadget
Technical Details
Message-ID:
<pull.2299.git.1793969476.gitgitgadget@gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-74658-linux-kernel-git=dewy.ruShow 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-74658-linux-kernel-git=dewy.ru
From: gitgitgadget@gmail.com ("Kristofer Karlsson via GitGitGadget")
Newsgroups: linux.kernel.git
Subject: [PATCH 0/2] t5608: assert that the packs involved really are that large
Date: Fri, 06 Nov 2026 12:51:14 +0000
Organization: Usenet Network
Message-ID: <pull.2299.git.1793969476.gitgitgadget@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="3882036"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:kJFWwRhXbG1q/07kwcls9zj48PU= sha256:C7cDwRYZ2D7vtsphxjr5OuTGBrAMOdE5U9KJpLXbL0s=
sha1:TQt4Isvmfuu43qeFohalMZyBbnc= sha256:aUalVPHU3ncpckbvLEcutxjufmVNWV7Iwq+iKBU2IMo=
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 45D4C113255; Fri, 6 Nov 2026 15:56:50 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.949
X-Spam-Status: No, score=-1.949 tagged_above=-9999 required=6.31
tests=[DCC_CHECK=1.1, 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] 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 j4xMdmy8DotL;
Fri, 6 Nov 2026 15:56:44 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-74658-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 612A2113254; Fri, 6 Nov 2026 15:56:35 +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 1751D2E9DA; Fri, 6 Nov 2026 12:51:27 +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=1793969485;
b=gP6xfKXu354WJvckr79eWSiWkMsGzgFmvqgXBMNzm1GfJfihwClLSw4LYO39ERBvoAto
4UZGmQeoSbHqRWooW5xuzLymyhNHorDNNBZZtqxzCUlWniUMcQCfEEEd9KQo1MyG1IRBt
gf9CfhBku8GEBk4+Nd4OVKXOW5+YFaX99MNQj1vHjyyU2Spw01AR0mor0ljvcNWNkd74C
ulMGZLdEMzi5usNKZdPK6jqmMyqbyQBN9BmvuwnseuxHMWMoae0gGYLeg/EPpWGcP1Pcr
/PnHucH+QgMsRU1/nIvq5i0pck59IBsMqE36yhrHH71hOAYQVa0tTjwaS0FaCkQZPFw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793969485;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
Received:Message-Id:From:Date:Subject:Fcc:Content-Type:
Content-Transfer-Encoding:X-Mailing-List:List-Id:List-Post:List-Help:
List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:To:
Cc;
bh=2nYbfqCPZV8sh7oasyvGieVPZiqqy0MlRRyxEDZuIIA=;
b=QOPKQ6VFL2gLPGJdX9VCrhjv/Dp4oVI65PCOe7C/OMWWLPhSzAxa9mT8rrXDw2RjRLPl
4HzfBCZH6R+/dqD3fJpSWrUJrCN4ROc+v6pxxAFQFNgi+JqmGEFqpE7Q4FYAtP+0/pL7g
e3Zmbsno+w4yAZait8h0TGZi//Al2ot+NXl4ht5E2abgtLOi2opwn/WALpGHSeyliCLt9
hiER1ZBijYFJZKbBCo3l1MldUbcLnF62FzbKFHV9jOesW0LHpwErEoCx/GNYazJE/lqnL
WFBazUkuliAKeVLhJsaXp8XzQpSJaXUrZUBmmEwEz7JvKuwMdQ05+JBfMiNO+kg5L5w==
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=qjIPvaxr;
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 F241B606D801;
Fri, 6 Nov 2026 12:51:24 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=qjIPvaxr
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.222.171
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1793969479;
b=pZmtX668mVUNTdgg4x/hJt1jt+f+JK5Ef2gZ1ZStkbWA51RM0Q1jzLD/X4PBBwDFNczo
PmTOzD1SJneDyAiTq9qG6J/48m1DwMs+9wnBVxBAUEKd+DVvYrolco/WSPZmyUxvPwYtz
ewd9HkOaDSYu5751r9OMo+C7v0Jo/MZEax6hAVw47Yp9gAfUu42bAOMoASzO5+AYy17qZ
s8ddkUx4+B4lVECyqhoPmldPTxe1kBleGbSuz9b7MnTc+8792bIHvog+SltxXEI4n0U2+
6Ls6xq4yqmoaCwwN5MpgMMgkGHlc0iWbWFGVIbCk6fHB8WjVnIK0RF/IxoCVLo44h+w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793969479;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Message-Id:From:Date:
Subject:Fcc:Content-Type:Content-Transfer-Encoding:MIME-Version:To:
Cc;
bh=2nYbfqCPZV8sh7oasyvGieVPZiqqy0MlRRyxEDZuIIA=;
b=hvwD/sjWM2Jl949NpQJFWFuyXtLuiFTJsKZQ3KzdgzGG5epJB3dRpU/WrAr4ubC17W+z
MqA+fVk9TUK0lbjhEN55ljdBNU0kZaqP3Wc9QDC4i5MCmCgZqI13X3dU7TBFw63NeQ9F1
Z3Hz+YYIZg27BWoz2YbjWrjVprCyLf8IM/Bn+nEtMMw990AH2pwmoindJ+yH6LtEtvF4Q
vI9Nqe4QsH8YYnL1C8DWye1oCnUbhEd2K3/kGthyMvkjGE1WnGsuhSKa6oOXRdq5MXs4i
BrmQbINrzN+msGTaPDegSMi7cJlDGBeutFGF9NuTRzKHGO0vivwy47Zpwn0CIbjzcvg==
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=qjIPvaxr;
arc=none smtp.remote-ip=209.85.222.171
X-Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171])
(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 B4224606A32E
for <git@vger.kernel.org>; Fri, 6 Nov 2026 12:51:18 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B4224606A32E
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-qk1-f171.google.com with SMTP id af79cd13be357-93f259cdc86so53950785a.3
for <git@vger.kernel.org>; Fri, 06 Nov 2026 04:51:18 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1793969477; x=1794574277; darn=vger.kernel.org;
h=cc:to:mime-version:content-transfer-encoding:content-type:fcc
:subject:date:from:message-id:from:to:cc:subject:date:message-id
:reply-to:content-type;
bh=2nYbfqCPZV8sh7oasyvGieVPZiqqy0MlRRyxEDZuIIA=;
b=qjIPvaxr5TsMktGET7rNvwae3GGBx+ERf/j1GpiPy+BmXOibGZL/trYFxqlW/Uyb//
Ren30A3xkl1XnwOSejJ5v6jSqMg+FrdS20uKI8PzFl1kmmgh8oZXbHcQRRjMkR27bJWG
KRvGNVcWuowhUN+h8ZbSn8A9/QpbuclSdWm+D985D/Q/uLFIXfyYGTJuTqI8dSPDh1dd
JoVvodPAV7omR5D5JYGYIswT6NjGA1KYSJ1nBDj7KI3Kubge3N/3J3E5O3s58rxUKO7O
qiSf1rlyLsVg4/S5kzRblZwcC4aLUju/o3ygrcJ5DNcQI3jkRP1S3lkFWAnv/y4B9Gyp
hlYQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1793969477; x=1794574277;
h=cc:to:mime-version:content-transfer-encoding:content-type:fcc
:subject:date:from:message-id:x-gm-gg:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to:content-type;
bh=2nYbfqCPZV8sh7oasyvGieVPZiqqy0MlRRyxEDZuIIA=;
b=xjNPUf3AFYcc64HBQjDMsQGzufPQU8hTStiz7dbWCzcEuVhCPjT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5laCJG0o=
X-Received: by 2002:a05:620a:2694:b0:93e:fd69:9a93 with SMTP id af79cd13be357-945f3506c56mr322529985a.31.1793969477491;
Fri, 06 Nov 2026 04:51:17 -0800 (PST)
X-Received: from [127.0.0.1] ([20.55.15.233])
by smtp.gmail.com with ESMTPSA id af79cd13be357-945f599bd5fsm137013385a.9.2026.11.06.04.51.16
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 06 Nov 2026 04:51:16 -0800 (PST)
X-Fcc: Sent
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-Cc: Johannes Schindelin <johannes.schindelin@gmx.de>,
Kristofer Karlsson <krka@spotify.com>