From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aDrpCqMbSV/DYgAA0tVLHw (envelope-from ) for ; Fri, 28 Aug 2020 14:58:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WGPKBqMbSV9hFgAA1q6Kng (envelope-from ) for ; Fri, 28 Aug 2020 14:58:43 +0000 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 63AEA9402CC for ; Fri, 28 Aug 2020 14:58:42 +0000 (UTC) Received: from localhost ([::1]:33268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBfpx-0006vo-BL for larch@yhetil.org; Fri, 28 Aug 2020 10:58:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBfIQ-0000cE-QN for bug-guix@gnu.org; Fri, 28 Aug 2020 10:24:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBfIQ-0005qE-Fz for bug-guix@gnu.org; Fri, 28 Aug 2020 10:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kBfIQ-0003CM-Cw for bug-guix@gnu.org; Fri, 28 Aug 2020 10:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43079: guix ignores available substitutes Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 28 Aug 2020 14:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43079 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jonathan Brielmaier Received: via spool by 43079-submit@debbugs.gnu.org id=B43079.159862463412280 (code B ref 43079); Fri, 28 Aug 2020 14:24:02 +0000 Received: (at 43079) by debbugs.gnu.org; 28 Aug 2020 14:23:54 +0000 Received: from localhost ([127.0.0.1]:47066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBfI5-0003Bj-E8 for submit@debbugs.gnu.org; Fri, 28 Aug 2020 10:23:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBfI3-0003BX-7T for 43079@debbugs.gnu.org; Fri, 28 Aug 2020 10:23:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59275) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBfHx-0005m7-UJ; Fri, 28 Aug 2020 10:23:33 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=49356 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kBfHx-0006cA-EP; Fri, 28 Aug 2020 10:23:33 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <8a6a6ee3-d196-b54a-378b-eea00c270a56@web.de> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 Fructidor an 228 de la =?UTF-8?Q?R=C3=A9volution?= 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: Fri, 28 Aug 2020 16:23:31 +0200 In-Reply-To: <8a6a6ee3-d196-b54a-378b-eea00c270a56@web.de> (Jonathan Brielmaier's message of "Fri, 28 Aug 2020 01:39:18 +0200") Message-ID: <87k0xionmk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 43079@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: UHWgniYvtJTG Hallo! Jonathan Brielmaier skribis: > Tobias provided me some nginx logs from ci.guix.gnu.org so here is some > further analysis: > > guix@laptop $ guix build --dry-run inkscape > Folgende Ableitungen w=C3=BCrden erstellt: > /gnu/store/i1sh5hzlzxzgzbdl3jb8wgnn9hr912wn-inkscape-1.0.drv > /gnu/store/1mzsr5z2qnrlr57gdv5mv7bhm1yg88z2-gtkspell3-3.0.10.drv > /gnu/store/07sff3s4ckc81j2lxip0pcyikfqbqs6v-gtkspell3-3.0.10.tar.xz.drv > > Where the inkscape drv derives to > /gnu/store/wp4v7qsyjngxggncz34gaidb3yqcqy3l-inkscape-1.0 > > https.access.log:XXX.XXX.XXX.XXX - - [28/Aug/2020:00:48:08 +0200] "GET > /wp4v7qsyjngxggncz34gaidb3yqcqy3l.narinfo HTTP/1.1" 200 3336 "-" "GNU Gui= le" > > It's also in the cache: > -rw------- 1 root root 3451 28. Aug 01:18 > /var/guix/substitute/cache/4refhwxbjmeua2kwg2nmzhv4dg4d3dorpjefq7kiciw2pf= haf26a/wp4v7qsyjngxggncz34gaidb3yqcqy3l > > (narinfo (version 2) (cache-uri "https://ci.guix.gnu.org") (date > 1598570321) (ttl 7776000) (value "StorePath: > /gnu/store/wp4v7qsyjngxggncz34gaidb3yqcqy3l-inkscape-1.0\nURL: > nar/gzip/wp4v7qsyjngxggncz34gaidb3yqcqy3l-inkscape-1.0\nCompression: > gzip\nFileSize: 40257671\nURL: > nar/lzip/wp4v7qsyjngxggncz34gaidb3yqcqy3l-inkscape-1.0\nCompression: > lzip\nFileSize: 16181383\nNarHash: > sha256:1i44f21lnxmajdir2jqvg9d28518fipbv3jq4cpf6wmmk1xgqr8m\nNarSize: > 164233984\nReferences: 01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib > 07m4rm6cwdj2m5mzh6n19wldn1if3h0q-glibmm-2.62.0 > [...] > zrmhnj3pwchn2msphgnwzwd3q89m46rn-aspell-0.60.8\nSystem: > x86_64-linux\nDeriver: > s8f2r8md9sjmmgnac1k5y881d6a84c90-inkscape-1.0.drv\nSignature: > 1;berlin.guix.gnu.org;LONG_KEY\n")) > > I have no idea what is wrong here... I=E2=80=99m not sure what conclusions you=E2=80=99re drawing here? :-) As you found, each entry in /var/guix/substitute/cache has a TTL, including for negative lookups. This is why one can observe different behaviors on different machines: one machine can think the substitute is unavailable (cached negative entry not yet expired), while the other got a positive lookup soon after the substitute had been =E2=80=9Cbaked=E2=80= =9D on the server. TTLs vary. For successful lookups, this is usually a long TTL (see =E2=80=98guix publish --ttl=E2=80=99). For negative lookups, there are two= cases: a 1h-or-so TTL for =E2=80=9Cabsolute no=E2=80=9D, and a 5mn TTL for =E2=80=9Csubstitute-being-baked no=E2=80=9D. On top of that, nginx on ci.guix.gnu.org might perform extra caching, though we=E2=80=99d need to check the config. HTH! Ludo=E2=80=99.