From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796403802; b=MlI4myfVvl1L9Lfgw+OIh3wh2ll6EoISB2zgCpNxCX7em7mE0QJvuvKxV9xkkieeNbUL pSwCRXOQ2zJASyZi9IIhsyyWPbcibN7yWa1T3wVdkToFPtV6H4gEtqqvUlAl7yoVO/esS qkf2IokapzUpWcaBAg6x9wT8qLVLH/zrskmNayBR2BCIQq5tWl21ljfPq3BfhqoYinkbX j+Ip6PlsdHtodDj8BXJVJggE5oUfw+VbBqM3yUAxqUEdMKyRxo9xNNjzvZzbtaKNAjief cUhUlevRt6S6s2ynomPs9s5FjakRoUvW6Alv6918RrI8LIaFJfZGqkis99qTTGc08FQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796403802; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=sjC4SP+Jo0eEL/nBm4xvoNj45Fo0uptCDwcmlQqos1A=; b=PJQ6EhKxAd/Kb4rcuZH93zVGFrLC5Ui/RUCs3pM7Kn87t16OoSzF2XjU6fu1v6jawUk2 77ZAb4C4ViDkemLAcsynb3ijxs+xcKKdZ0paqOo778do1rtq/jBr8ZH4lcfiKPqpEFBEY VjPv0LwjT4mRKh5ZNhefZM8Z7n1MDdfltKT5ZC3mfEUA2I81wSSFsqkrkK7w6TqT6h+Hd 1U9fOUpwpxD4OjO0JjY05UaAL656W4SEj9Pkunket4tykXX3A2NwJzP9bGcghgfwMCFbh gaOfqEZI0YcoZYspK24jU5jNAFn3zLamDsEo8fRGeFkYgnmWSa6lFqtYlOMrJWZG2iA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="A/Mc5eUN"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AC481606A322 for ; Fri, 4 Dec 2026 17:03:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=A/Mc5eUN Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC98F1F0093A; Fri, 4 Dec 2026 17:03:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796403801; bh=sjC4SP+Jo0eEL/nBm4xvoNj45Fo0uptCDwcmlQqos1A=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=A/Mc5eUNUBMbhFMTpWWTNTCOn1pv9nfgcBltLrRGugQ8xk/ObdaB9umfhEF+JFft0 eGayryd0x3ez/oAaeP+L8XVv+AKGmERXRx6z9fIi27AwZat0tWESsGyaEj1iArj7rK I0jiTFw4qdYkhRhS9Vgg+AWEMhCTLWz5ngsGUyGZ3od29VlE5+uu0nOURyhgX3qyeB XOX4F3xsKGvY6ECSLmwsgiF9GRvgpZ4A1UsksXV8JvsewAoxbh/b4agRECxJjIHz2q K49L605vMrSiP/yIUj/rc0oTsx5nFTlSbrCaLCFOuMkY2AbdPWnCoV+TVaD42gKvaz C/BRn+bMpGqdg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] perf build: Do not use the mypy cache Reply-To: sashiko-reviews@lists.linux.dev To: "Sasha Levin" Cc: linux-perf-users@vger.kernel.org In-Reply-To: <20261204164752.853673-1-sashal@kernel.org> References: <20261204164752.853673-1-sashal@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 17:03:21 +0000 X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > The build runs one mypy process per Python file, in parallel, and since > commit b3e9c396d0ac ("perf build: Make mypy build test opt-out > (NO_MYPY=3D1)") it does so whenever mypy is installed. All of them use > the default cache, .mypy_cache in tools/perf of the source tree. >=20 > Since mypy 1.20 that cache is an SQLite database by default. mypy 2.4.1 > sets the journal mode of the database every time it opens it, and that > fails if another process has the database locked at that moment: >=20 > sqlite3.OperationalError: database is locked >=20 > mypy reports this as an internal error and the build fails: >=20 > error: INTERNAL ERROR -- Please try using mypy master on GitHub: > [...] > [ ... ] >=20 > Fixes: b3e9c396d0ac ("perf build: Make mypy build test opt-out (NO_MYPY= =3D1)") > Reported-by: kernelci.org bot > Closes: https://lore.kernel.org/all/179589234320.273234.15340882774679334= 017@kernelci.org/ > Signed-off-by: Sasha Levin Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204164752.8536= 73-1-sashal@kernel.org?part=3D1