From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cLYMBAGaPmCbCAAA0tVLHw (envelope-from ) for ; Tue, 02 Mar 2021 20:03:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yHqGOwCaPmAaJQAAB5/wlQ (envelope-from ) for ; Tue, 02 Mar 2021 20:03:12 +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 5A7DD13416 for ; Tue, 2 Mar 2021 21:03:12 +0100 (CET) Received: from localhost ([::1]:43626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHBEc-0000Cz-94 for larch@yhetil.org; Tue, 02 Mar 2021 15:03:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHBDW-0008U5-HP for bug-guix@gnu.org; Tue, 02 Mar 2021 15:02:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42746) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHBDW-0001NU-5x for bug-guix@gnu.org; Tue, 02 Mar 2021 15:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lHBDW-0003mx-3T for bug-guix@gnu.org; Tue, 02 Mar 2021 15:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46877: Guix assumes ideal network exists, does not Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 02 Mar 2021 20:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46877 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tobias Geerinckx-Rice Received: via spool by 46877-submit@debbugs.gnu.org id=B46877.161471527514503 (code B ref 46877); Tue, 02 Mar 2021 20:02:02 +0000 Received: (at 46877) by debbugs.gnu.org; 2 Mar 2021 20:01:15 +0000 Received: from localhost ([127.0.0.1]:54292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHBCl-0003lq-6K for submit@debbugs.gnu.org; Tue, 02 Mar 2021 15:01:15 -0500 Received: from mail-qk1-f181.google.com ([209.85.222.181]:40740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHBCk-0003lb-2h for 46877@debbugs.gnu.org; Tue, 02 Mar 2021 15:01:14 -0500 Received: by mail-qk1-f181.google.com with SMTP id l132so20389147qke.7 for <46877@debbugs.gnu.org>; Tue, 02 Mar 2021 12:01:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=PPaP5eFHLCmRif1hviV9BH44yG2FgsmSRFGcS5H0Hm4=; b=poGjhGsf0iJx8FNJjiN6i6uMgTEBVXHlD48Ebd4rO3UfVWb19CquHanmbGb1p/gX40 jbkivgp+9p8cug5FfTTC3WscdDvEcCCHfUhpFN/UkA5e4uwze8aIQdg6frZp1YHHbtNK ytcut0Wcywzdv1Fmrhba2slZDlcsaJOP+IgFFTVc4r3La4B7aX/7saczdWDNIt/KTMBf glYk0Tr6P7+o/zi6KsItARFEcynSbN0JC6v5aGfr59K/gDJg3sECmb9NZzFClCsHL5/l P8jpA7/vferL5EN0HSBdmyPi3TcV2aoXdlaW648Han7st9RUqgN11EbWK5Ix+8QgZs9z 4zKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=PPaP5eFHLCmRif1hviV9BH44yG2FgsmSRFGcS5H0Hm4=; b=J7SO6Y7RLYxdN04RindGA7mVVpPu+PcHk4SFAy1rFjy+awaCjcEqmSdv7ymkWcv9AA qWA8KVW1fspKICB2vNpBfh34whaMdYA3a8lnaS6iCXa1EnV5itRESorlrRgSKaPCPrrM P2IluPUtr8IZHvkbUrJOYcIJNZa3WQas4jhgXi7rEzpXhAgDIpie7BcxJZF49u/ePjnC qITDAMuu/oy9tT1k5F2qeBjd7/pa7+5Moj+2bJoZyt8sirPy3rL2pg8yM8V6fjKmnQv9 kM/MqzH+nBd0IizwHFs7XP+u+y29x8psVFTiXLgN1mOr7stm86zYaKqb/2I3ivqcFFpe zPYw== X-Gm-Message-State: AOAM5309kD4+sPP0ATzxJV/761BW1GOivMq8SEZHBi1pVrQETDoBbj6i WSbNirNJHKMjQ4KzAnMEnMGrLDmkSOyVKUEvr3Q= X-Google-Smtp-Source: ABdhPJzSGSbAIGpLWEtk7osDn/Le3ViNpOEb3TZ8U4tt5qhh2x31Uw45w2mAWu7NgdrlMHr64u7NswSWF4ibLp/pJ90= X-Received: by 2002:a05:620a:630:: with SMTP id 16mr22778021qkv.304.1614715268430; Tue, 02 Mar 2021 12:01:08 -0800 (PST) MIME-Version: 1.0 References: <87eegxms7h.fsf@nckx> In-Reply-To: <87eegxms7h.fsf@nckx> From: zimoun Date: Tue, 2 Mar 2021 21:00:57 +0100 Message-ID: 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: , Cc: 46877@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614715392; 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=PPaP5eFHLCmRif1hviV9BH44yG2FgsmSRFGcS5H0Hm4=; b=o+v1Z/Yll8Oqes0c1FG/w6aWWCm6Wz6msYfbN4PINpEzNjY/QFqF9vJITG8JwdEb1vS608 vhKYkUH5Qdhy/H1YYp7SY+QaJhe5Fld3vnhdZBhFPG5IBw3Bdqj4/JxsU/u+EB6kAwCtxk F0PVhg7O0t1CjhGvyl5ArVMaPqQr1HRZ/7kG/ZteL3Y50oFnWaE+moNod4VOQdQLcpQWyI oaq3/Ai+9VSO8JXQ4wVwq+9xEn1To/MZycQhHWxsct3nw7p9FvHGic8stlxn4aShpHsr1s VbBs355l3psxNz+4xXv9EqUEeg6cia/qzmJcoKm6zgRK81Dr+6sSTbyf+6SIow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614715392; a=rsa-sha256; cv=none; b=Ugxcr0hkcVblAVEE59gn3HwabQRRCJu9PVJw0GaJk6d1amEEttjUiH2kBZKxnA2K+flXwX 4vhbqVvHqf9gniYZ4Qs3UbG+MxGduXM3lL1cXNgvvTtGOXS+ETFHFHOtnG7ZIr7+jzd9DU QsFQwL79dw3S+qqaGgyEIklNGCpiVqoKA7wKBPLmBR10q+lsfH+1maJ9HPWJuhWDtEFjae xE+4xQ0/KP8HQPuQq8huPUDSHdP+kw9H5uV3vP6lH36Pn/2PafT/g5nAxCbI3Ka0osGzLj B9D6yOzEubw60SuT6oVU1A7feJZqeP/rRIXss/jraYv7bTJg5cQbjpWvpk3Icg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=poGjhGsf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Migadu-Spam-Score: -1.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=poGjhGsf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Migadu-Queue-Id: 5A7DD13416 X-Spam-Score: -1.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: n71Qi3hiLkJ0 Hi Tobias, On Tue, 2 Mar 2021 at 17:33, Tobias Geerinckx-Rice via Bug reports for GNU Guix wrote: > We don't seem to have a plan forward (I include myself!). Looking > at other package managers, a blunt =E2=80=98retry a finite number of > times=E2=80=99 seems common. Guix's =E2=80=98pretend that "transient" is= a magic > powerword=E2=80=99 approach less so. If I read correctly, the issue comes from (guix scripts substitutes) in 'fetch-narinfos': --8<---------------cut here---------------start------------->8--- (call-with-connection-error-handling uri (lambda () (http-multiple-get uri handle-narinfo-response '() requests #:open-connection open-connection #:verify-certificate? #f)))= ))) --8<---------------cut here---------------end--------------->8--- where 'requests' can be really large (all the missing information from local cache). Instead of processing the list in one go, we could imagine split it into several chunks, say X, and so process only X requests by X requests. WDYT? Cheers, simon