From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cHNyIgi8kWM7bwAAbAwnHQ (envelope-from ) for ; Thu, 08 Dec 2022 11:27:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8AmUIQi8kWPdNwEAG6o9tA (envelope-from ) for ; Thu, 08 Dec 2022 11:27:20 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1EBA33A01A for ; Thu, 8 Dec 2022 11:27:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3E7P-000387-G5; Thu, 08 Dec 2022 05:27:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3E7K-00036H-PH for bug-guix@gnu.org; Thu, 08 Dec 2022 05:27:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3E7K-0008Ta-Gr for bug-guix@gnu.org; Thu, 08 Dec 2022 05:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p3E7K-0008OI-4S for bug-guix@gnu.org; Thu, 08 Dec 2022 05:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#48468: substitute server connection timeout Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 08 Dec 2022 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48468 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 48468@debbugs.gnu.org Received: via spool by 48468-submit@debbugs.gnu.org id=B48468.167049519932240 (code B ref 48468); Thu, 08 Dec 2022 10:27:02 +0000 Received: (at 48468) by debbugs.gnu.org; 8 Dec 2022 10:26:39 +0000 Received: from localhost ([127.0.0.1]:55883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3E6x-0008Nw-3E for submit@debbugs.gnu.org; Thu, 08 Dec 2022 05:26:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3E6v-0008Np-Cb for 48468@debbugs.gnu.org; Thu, 08 Dec 2022 05:26:38 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3E6q-0008Pw-3l for 48468@debbugs.gnu.org; Thu, 08 Dec 2022 05:26:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=1OwmOglqgnVtHkHRwkKwAXDWfPcjCygSAB5v1BC1iP4=; b=V9Q4lME8a3zVPYYVrWX/ 1qs32wxPu+w+D0j8tXPsS00VxuHKpF4Qt60HhOnckfpnH8p6zDiXjM55pS5CP7Oj/3i/gORGlVlpg dIAoo3BOFxGbhHW9o5E9q0wclFR6o5lZ1YIi8nYdoAhronnrdY5kXXxpsGoiG7vZSm1j5LrzAppEl lc1t8rMLXzqRnbW9MNP7KPDbJDTWxqzGHzLeHr+8IkaOQikBJLT79P1wO8kML12Np0lAXV2t4qMQl n7nvKVAtNLVFKgQbLInM6Qtm958LFKKPOauNC1kuiW7WYnvNY+j00GZv1rcpukgg8I4ZCt3hqx4Eu 5SRu729RBVB0Lw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3E6p-0003x0-Gz; Thu, 08 Dec 2022 05:26:31 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87lf8e4l42.fsf@gnu.org> <87im2bfj3i.fsf@gnu.org> <87sg108vl5.fsf@gnu.org> <87lenmrnos.fsf@gnu.org> <87cz8v8s66.fsf@gnu.org> <87cz8vjpv2.fsf@gnu.org> <878rjj8eun.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 18 Frimaire an 231 de la =?UTF-8?Q?R=C3=A9volution, ?= jour du Lierre X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 08 Dec 2022 11:26:28 +0100 In-Reply-To: <878rjj8eun.fsf@gnu.org> (Mathieu Othacehe's message of "Wed, 07 Dec 2022 15:31:44 +0100") Message-ID: <87wn72fay3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670495240; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1OwmOglqgnVtHkHRwkKwAXDWfPcjCygSAB5v1BC1iP4=; b=QTR0Vf+tBl6+S3vX08D+IlQ0zAf5Njd9Q1Qa1Gbx7Bsm9c6gG0FQbH67QnER9d+vR7UKm6 6CqmI/zBSEJFFDzhm+1ZDEGyu6VIytpCxe3paN5weYWmCCyUNgOqn8bPlYmRn18C0FB4/M MxyTW5Xe5qYDlv+QQRBFA36PAqyxLLKhHpZhwbZ6y0qRNCuqd7woAr37xWAzcOzjEDWBce VNCJCwwhMD5bM93sBHLmKYZHB8z2BfeUmN6hMLokwVy4Wkxec+mX7oZx1iWfI001ozuHbW 6qY3iNY7YnETH7iaIw1iL9ZFb6XYKWl3VLK8q6pMc/ndthXo99cbvEb4zwRTYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670495240; a=rsa-sha256; cv=none; b=S2+bwgYLMATIcgjAHeNiy6j+TGunHuL7uinKtwWCvuQB4w/xb5Ur69xTaz0hfAyv097zeP 1Jrw4lomJitj/R3g/LqnRcPQ4qsVylx868Z4WlmRmPEiJhztxbHfFRHzCnErW0giz8zDTN NvwACJhTgLnhp0kVtNOIdOv263qbxTU8+vvbNhislja6djG+h/RbTTHl8V+HhyBMiTggqy /7DD6yZSVVcOBN0qKnvqYl4qkZ04RdxXdB5Dx/1ZG19Oig0/4BPJ7XJuaeNIogSEjzn7JK 2bvmuISgThdSP+vjsw2AYb9KYT+iIOFmtAHV/C700MUeQ+7miU+8R8aNtDoKYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=V9Q4lME8; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.86 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=V9Q4lME8; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1EBA33A01A X-Spam-Score: -3.86 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5UUtb6qG9yFp Hi, Mathieu Othacehe skribis: >> /gnu/store/qmzr030rzgikdxv3g9msqv0l8qp5j6y2-btrfs-raid-root-os.drv, >> which was marked as failed earlier today due to missing .drv. It=E2=80= =99s a >> 4KiB file, and the cache-bypass-threshold is =E2=80=98guix publish=E2=80= =99 is typically >> set to something much higher than that. So =E2=80=98guix publish=E2=80= =99 won=E2=80=99t return >> 404 in that case. > > Yes but that derivation also depends on other derivations, for instance > qemu-minimal and if I try: > > mathieu@berlin ~$ guix build qemu-minimal > ... > /gnu/store/lwv2pl0m6dkf6bkzip755w5p71g5akq4-qemu-minimal-7.1.0 > > > and then, from my machine. > > curl https://ci.guix.gnu.org/lwv2pl0m6dkf6bkzip755w5p71g5akq4.narinfo > We're baking it: /lwv2pl0m6dkf6bkzip755w5p71g5akq4.narinfo Yes, but derivations (.drv) are depend only on =E2=80=9Csources=E2=80=9D (l= ike *-guile-builder, *.patch, *.scm) and on other derivations, all of which are typically less than 1=C2=A0MiB. Derivations don=E2=80=99t depend on derivation outputs like that of qemu-mi= nimal above. > So any build that requires a heavy substitute, heavier than the cache > bypass threshold at least, will fail on the workers, as it would fail > locally. The main =E2=80=98guix publish=E2=80=99 instance on berlin has cache-bypass= -threshold set to 100=C2=A0MiB; I don=E2=80=99t think we have any source or .drv that = is this big, or even a tenth of it. :-) The =E2=80=98guix publish=E2=80=99 instance spawned in (cuirass remote) doe= sn=E2=80=99t use caching at all, so there=E2=80=99s no bypass threshold. The only clue we have so far is a long chain of successful .drv substitutions followed by a failing one: --8<---------------cut here---------------start------------->8--- Downloading http://141.80.167.131/nar/zstd/9nm35401i8j42559iadi3iz3kmhmj7pr= -guix-system-tests.drv... [K guix-system-tests.drv 1KiB 0B/s 00:00 [ ] = 0.0% [K guix-system-tests.drv 1KiB 1.3MiB/s 00:00 [##################] = 100.0% [K guix-system-tests.drv 1KiB 408KiB/s 00:00 [##################] = 100.0% @ substituter-succeeded /gnu/store/9nm35401i8j42559iadi3iz3kmhmj7pr-guix-sy= stem-tests.drv fetching path `/gnu/store/9zf6inizcb09m136c44dj35fmzf2g3hs-guix-system-test= s-modules.drv'... @ substituter-started /gnu/store/9zf6inizcb09m136c44dj35fmzf2g3hs-guix-syst= em-tests-modules.drv substitute Downloading http://141.80.167.131/nar/zstd/9zf6inizcb09m136c44dj35fmzf2g3hs= -guix-system-tests-modules.drv... [K guix-system-tests-modules.drv 543B 0B/s 00:00 [ ] = 0.0% [K guix-system-tests-modules.drv 543B 851KiB/s 00:00 [##################] = 100.0% [K guix-system-tests-modules.drv 543B 484KiB/s 00:00 [##################] = 100.0% @ substituter-succeeded /gnu/store/9zf6inizcb09m136c44dj35fmzf2g3hs-guix-sy= stem-tests-modules.drv cannot build missing derivation ?/gnu/store/zq7idl0j51fdzqhhqm9ql90d0f2326k= 7-btrfs-root-on-subvolume-os.drv? --8<---------------cut here---------------end--------------->8--- (From .) Plausible explanations that come to mind: 1. =E2=80=98guix publish=E2=80=99 returning 404, but not due to baking. = Instead the .drv is simply not in store, hence 404. 2. Client timeout (=E2=80=98guix publish=E2=80=99 fails to reply on time). 3. Cached 404 in nginx (though we=E2=80=99re not supposed to cache those I think?), or timeout in nginx (again due to =E2=80=98guix publish=E2=80= =99 being too slow and =E2=80=98proxy_read_timeout=E2=80=99 is reached, currently 10= s). We should see if we can get useful info from nginx/publish logs. Thanks, Ludo=E2=80=99.