Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 147A8C982D2 for ; Thu, 17 Sep 2026 22:02:25 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x7KBJ-0005Hh-4i; Thu, 17 Sep 2026 18:02:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x7K9k-000496-TP for qemu-arm@nongnu.org; Thu, 17 Sep 2026 18:00:37 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x7K9g-0004aS-2r for qemu-arm@nongnu.org; Thu, 17 Sep 2026 18:00:36 -0400 Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68HLuQxo2390179 for ; Thu, 17 Sep 2026 22:00:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= DRgEwlJmK8bcf4OSTwYjgga3u2VCWo00NwdUB25UExo=; b=d9NOgjAXcqcDjSdm FjTEiOR+Dz0xw9epkQMowNB9g5xNm/CxTe7JKV+ogUtLRVd9vIqfSdc3ZQzPJFd+ r6vyC8iu0MJcNFuBtIOtFmBCFHkzhSB0P1sbN58WrqH74/fIO4lNaIqxMIwc1f81 nWF9Gre6iFAchT0S82K4TqmBuBwSQbtyhbRONA05zzwFA8Yun8GVgA70leOZyB+n VEMBy7yZyx7nCu13mUqCfmrMrUS0YXwnn7Z6CLfAsA1AXorxK15ic4oTqERbB1wx 9BpHooZf1YDGO5CJqqJqS3HnhAeijuB7bDcq/PgLyHogebokahbCmdlVA/zNXycj PbJmJg== Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4grrjdr0c4-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 17 Sep 2026 22:00:28 +0000 (GMT) Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-2db3d832827so1333095ad.2 for ; Thu, 17 Sep 2026 15:00:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1789682428; x=1790287228; darn=nongnu.org; h=content-transfer-encoding:content-type:in-reply-to:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=DRgEwlJmK8bcf4OSTwYjgga3u2VCWo00NwdUB25UExo=; b=XSRnHo2niQgNDZF0iPA1DDxkDq31qvi8MyCg8dvM8A4VIJrVdazd8TxE3Di5wqjTa+ rPoDG3zwdcJjV/QN9WA8fdhucVlTAyMoDOXlg/csm/CpT8oQOkbX4lX5AJGhgbXZY+sL X2YzgotoFPHAjh8o3Xj9CFRXdHyan2Vr9uof3Sxg/W/dD7mPWsuPeeLLocLRdic8TeCZ UvlOdylcjC3SqUlkJZml5mvFERwuUxsDOQ465O+H/ggDN1GbKAoz6MiRMQqFyYsjaoVz x55JBVEtFpEUp+E/ndtC7rr/FOFV814pz8O9BkN1JBrdHApgFsCPNB9LtvghVG4i9MUg 7oUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789682428; x=1790287228; h=content-transfer-encoding:content-type:in-reply-to:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=DRgEwlJmK8bcf4OSTwYjgga3u2VCWo00NwdUB25UExo=; b=Y0jHqu7FUs+EW1ZsCuvQ8dY5wm8FnyrdZ/Jt2ZGHfqRDqVCTXVD/HeVu6c08c5+5eo lWoEffebSwJZbeMQPfhU54zhVEgrSr6nUhcKW1P+ZsWCzEkjvvauMsZMhFT7tD5Jk48x 3BJvoWmUT7+WcRbMAbg5anxCrjCFn/0wKOE20+CJaIMmi+pnlwwb6o17RnhKuSfesanL zrmIKg+hZ0XxOI2TlyoAZD0qBCcj/8g+IIYhXvRTVHbkODpfAUoFFZBuye9ESN7o+ADc a2u00dUsBcVGAEAkX1FJ54QkypjNbUmbE1ncgip0Om4HmrAos2bXELr0Kw1Mi1t2tXnP fp/g== X-Forwarded-Encrypted: i=1; AKwUvBwyoLdgFEQYzL8UTlGDeXdIRkz96Dm+27QNDJMpbJyhxR9yDOjF7IjgwkSabaNV+rd4/ziz4T2Mrg==@nongnu.org X-Gm-Message-State: AFuF++n53BA0FztGS8I/ZPvxoTZTMj1KN+OP3K0kZiewV/fdBMCXFFbu EkNbuHYdDM4Vu9BviMO2Su8L3wMuo5b7b4w2ucn1exuvh5pP4YPtYjKHzeMeAKdAX08iBAjSdUG 85pNH5k6Fluc8tSurXzDGoZd9M26m7kzzc7jcKIl1fAiSDQmbSjplZtw= X-Gm-Gg: AYBFou3bUh6qIk5CwVSgRcyH+ut5rOGntQpZHEDnKF47Uk9d0+ECyZUhWlKXRnOYFWD gfmrQxXdqk9GaktfrpSD7xBNYJUc0npL1hc8Gxbwyn33SquNYErmo0JhFqvqYeCRCc4QS+982I9 IbkLQCCfayQvwXQhVsMsxTNpri3kjCwUQ/IzPyjOnhkYJwRRIfsj11wGZsJ789T1IQcloWOpS+7 zjL55e1RwET350e11vdGPZFSQANwYCFswdzbL7a5DXKzpQF42wDL1nqJjLsgTbsFRT3R3uCrZvF JC6+2FxANVqCtS09TpVhTv6JWBJsbf9E5srkK5Bsj1E3ngD+WS9uIbjtzvWc3AdjLZiarjEEn+l fSaF9/xUkAoIAMTygho8kD2N1GmlxHIl0GA7+/wnSQ4wVwIXkoqhPBzB5vV8z5fFyAlY6 X-Received: by 2002:a17:903:4b03:b0:2dd:ad73:c937 with SMTP id d9443c01a7336-2ddb1b989dfmr9655005ad.24.1789682428018; Thu, 17 Sep 2026 15:00:28 -0700 (PDT) X-Received: by 2002:a17:903:4b03:b0:2dd:ad73:c937 with SMTP id d9443c01a7336-2ddb1b989dfmr9654195ad.24.1789682427422; Thu, 17 Sep 2026 15:00:27 -0700 (PDT) Received: from [192.168.1.199] (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-33bf5aee8b0sm35823924eec.23.2026.09.17.15.00.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Sep 2026 15:00:26 -0700 (PDT) Message-ID: <7a587ac5-b7bb-4c69-a022-3e65e49070c6@oss.qualcomm.com> Date: Thu, 17 Sep 2026 15:00:23 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 11/17] tests/docker: strip remaining caching logic from docker.py To: =?UTF-8?Q?Alex_Benn=C3=A9e?= Cc: qemu-devel@nongnu.org, Cleber Rosa , Helge Deller , =?UTF-8?Q?Daniel_P=2E_Berrang=C3=A9?= , Fabiano Rosas , qemu-arm@nongnu.org, Brian Cain , Thomas Huth , Matthew Rosato , David Hildenbrand , =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= , Song Gao , Warner Losh , John Snow , Eric Farman , Cornelia Huck , qemu-s390x@nongnu.org, Jiaxun Yang , Paolo Bonzini , =?UTF-8?Q?Marc-Andr=C3=A9_Lureau?= , Peter Maydell , Richard Henderson , Ilya Leoshkevich , Laurent Vivier , Brad Smith , Kyle Evans References: <20260917165602.3405537-1-alex.bennee@linaro.org> <20260917165602.3405537-12-alex.bennee@linaro.org> <87fqz77dln.fsf@draig.linaro.org> From: Pierrick Bouvier Content-Language: en-US In-Reply-To: <87fqz77dln.fsf@draig.linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTE3MDMxNSBTYWx0ZWRfX08In/niFDB87 NuY6VTlvaa09w126ikaUNyuOahTdkFuTNsw2XWXCcjefcIaxXbuvhGTqiHlEz3V1WeK0TS5ebWI 694CmFAyF5bW7j7BfQ84QJiXz+WZ68z2J1tV8TPSfxFTeqmESfxQhrZGduJ8LEyY7y0kmO0b2QV D2pgS/JqH8MYWRcDZnWCxc4YX7mWmWMeoVJu4Jtb/dLPoMrsMO3c3ia7sFbwMaT3rxC86okRLDu GZxYJklPN1TaflVx/dGCaM+HPY6crcT0275liP8vud+qIGACABMF6rO/+PfUWuKmaBas1XNXg54 WkmrzhR4CxeF6XMa1GbNa1U0a0I7bB6gF57pBAijZqZaQZD8t/jFosop64CmGM8o+yYoucu0wux R9OLbL1JjEwdQD1DpkuLQwWYQcXxCgosG3ytPpNhGn03R2HkHZ9CRlNd3q8Usrm/MUmygtuz4R+ vqCswn3GmHGlW02MEqQ== X-Proofpoint-ORIG-GUID: HTWcnjhzFP8Y66q4_aGwX8zAg7s-BpCW X-Proofpoint-Spam-Info: AW1haW4tMjYwOTE3MDMxNSBTYWx0ZWRfX3brgbqEiTxl+ DWT7n59Nm0HxMyOgX85D1C4pwU/FLKa3nKWFug+50N7mEh4OB7A1Zs1RcyyIE0OjdNJEIgq5PUg P7rd1CwdDWMQVI8RKLVJOvbEz1JGMv8= X-Authority-Analysis: v=2.4 cv=J9Q/fwnS c=1 sm=1 tr=0 ts=6aac62fc cx=c_pps a=IZJwPbhc+fLeJZngyXXI0A==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=IkcTkHD0fZMA:10 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=KKAkSRfTAAAA:8 a=cSby643O2cv9IJhTg8EA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=uG9DUKGECoFWVXl0Dc02:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-GUID: HTWcnjhzFP8Y66q4_aGwX8zAg7s-BpCW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-17_05,2026-09-16_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 impostorscore=0 clxscore=1015 suspectscore=0 phishscore=0 priorityscore=1501 bulkscore=0 malwarescore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609170315 Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org On 9/17/2026 2:49 PM, Alex Bennée wrote: > Pierrick Bouvier writes: > >> On 9/17/2026 9:55 AM, Alex Bennée wrote: >>> The caching logic was a remnant of an older time when we had multiple >>> shared layers building that went into the final image. It was arguable >>> that it worked back then but it is definitely not needed now so into >>> the bin it goes. >>> >>> Tested-by: Richard Henderson >>> Reviewed-by: Pierrick Bouvier >>> Signed-off-by: Alex Bennée >>> --- >>> tests/docker/docker.py | 148 ++++++++++++++--------------------------- >>> 1 file changed, 49 insertions(+), 99 deletions(-) >>> >> >> After testing this series, it's not a good idea to include this patch. >> >> It forces a systematic rebuild, even when image is already. This has >> three consequences: >> - verbosity: we see build log systematically > > You asked me to drop the verbose/quiet switch patch which addresses this. > Which is good, because it was hiding the problem. I was waiting to see the series is in good shape before testing it. >> - slower: running a noop rebuild takes time > > how much time? it flies past when I run a rebuild. > For a no-op tcg-tests build (i.e. with tests already built): - With current patch: time ninja -C tcg-tests ... verbose pull and build 320 lines of output ... real 0m15.817s user 0m1.342s sys 0m0.840s Without the current patch (current behavior): time ninja -C tcg-tests [0/534] Generating tests/tcg/image-debian-all-test-cross with a custom command [1/288] Generating tests/tcg/image-debian-hexagon-cross with a custom command [2/193] Generating tests/tcg/image-debian-loongarch-cross with a custom command [3/156] Generating tests/tcg/image-debian-tricore-cross with a custom command [4/135] Generating tests/tcg/image-debian-amd64-cross with a custom command [5/84] Generating tests/tcg/image-debian-xtensa-cross with a custom command real 0m0.704s user 0m0.504s sys 0m0.132s >> - network dependency: docker.py --registry triggers a pull, which fails >> if there is no network. It breaks offline make check. >> Also, it slows down things too. > > we should be able to gate the registry on network access. > It's not as simple as "is_network_connected", there might be timeout involved in case network has issues, amplifying the problem. >> >> So, let's drop this patch and keep the caching mechanism for now, it's >> still useful/needed. >> >> Regards, >> Pierrick >