From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id COG5NCOHW1+0ZQAA0tVLHw (envelope-from ) for ; Fri, 11 Sep 2020 14:18:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MHr0LiOHW1/YfQAAbx9fmQ (envelope-from ) for ; Fri, 11 Sep 2020 14:18:11 +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 650569404CF for ; Fri, 11 Sep 2020 14:18:11 +0000 (UTC) Received: from localhost ([::1]:38418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGjsQ-0003DD-0H for larch@yhetil.org; Fri, 11 Sep 2020 10:18:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGjsI-0003Cz-5O for bug-guix@gnu.org; Fri, 11 Sep 2020 10:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33357) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGjsH-0002BE-S5 for bug-guix@gnu.org; Fri, 11 Sep 2020 10:18:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kGjsH-0003PM-OA for bug-guix@gnu.org; Fri, 11 Sep 2020 10:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41878: 'guix substitute' and 'guix pull' fail gracelessly on flaky networks Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 11 Sep 2020 14:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41878 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Brendan Tildesley Received: via spool by 41878-submit@debbugs.gnu.org id=B41878.159983383413049 (code B ref 41878); Fri, 11 Sep 2020 14:18:01 +0000 Received: (at 41878) by debbugs.gnu.org; 11 Sep 2020 14:17:14 +0000 Received: from localhost ([127.0.0.1]:44903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGjrW-0003ON-1x for submit@debbugs.gnu.org; Fri, 11 Sep 2020 10:17:14 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:40924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGjrU-0003OB-E3 for 41878@debbugs.gnu.org; Fri, 11 Sep 2020 10:17:12 -0400 Received: by mail-wr1-f53.google.com with SMTP id j2so11657291wrx.7 for <41878@debbugs.gnu.org>; Fri, 11 Sep 2020 07:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Tmd3RSddx0ROOM00J7xv9PNaM9xm+pVyvCazSu3wLRE=; b=YADvMPsj/hR+HgEtuYeHGGX8HT64emYgYHA+44afI+DGi9hZlGgIfdW87ojFGyOYSQ ThegYvRR3KcA1ds+BRsBFo/jYAMj5aPvCXJf62KFYyx9tmospMaY10bM8KtEHo8ElHdV XJcR1iCt7VFG/h4mmZeDb5GViXgD5Ds/11PwLsny+GdWkqNTXiHLPQwoAcL6MsEa8LeB OKNV6PyO50CYWXXjQA7oto4jLMT4IW6qDchY3peztpjgfyib0rT0NLybj7ZsfJ1O9yMv UJ0So/25ulXt9FAlGNhqHlG6+uhSUOSEhymEb4wYis8AvAGOdupvVn3FtWv34ra934ZD K5Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Tmd3RSddx0ROOM00J7xv9PNaM9xm+pVyvCazSu3wLRE=; b=j7a7wYN9uwGkq1bnDPe2z6sgqrSQ8QT/kQgtHNmmmWVmbV0m+D2EHB1vBN9ETUmUKt GpjW89939rhfeto095FFozicPDdbQqRgxSWAQAXuEUalp42ogTqzkcsn0TKu3xVdaKGm b2L3l5zmR+nXH2nyiZM035uBaay5uh9YI/afNSMx7zqv1D6J7xxcWpMsP/x5r0bz7iSB geWrj4ln+uJZcbpTXtCOJOUIFSqg/RRUmPHYpMahJM+oD+1wdb9SJ6TCH8yUiDL0D2LT 88OgQwszyMAV8jgA3lRVUUjuwh3PcFMxGpI1P+jYWUBlc1NdroFjVU8LWObqr2z50041 qaBw== X-Gm-Message-State: AOAM531tBIWREieBqw7As/5i30/I3asyDMI0AHK8VceBgi3oefvA2vKF F51QSDhY41XEX26znTrDZjPVfuX8JJQ= X-Google-Smtp-Source: ABdhPJx/OuiMQ+qVtuwpF8db50afsrkl88hmC+rlmBXMPd79vyFf8uCcwQmGsgZUJgF4c129bCDidw== X-Received: by 2002:adf:9e41:: with SMTP id v1mr2557323wre.60.1599833826401; Fri, 11 Sep 2020 07:17:06 -0700 (PDT) Received: from pfiuh02 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id a85sm5031795wmd.26.2020.09.11.07.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2020 07:17:05 -0700 (PDT) From: zimoun References: <2486f02b-b36f-7747-4eb0-b43d9215dd9f@brendan.scot> Date: Fri, 11 Sep 2020 16:17:05 +0200 In-Reply-To: <2486f02b-b36f-7747-4eb0-b43d9215dd9f@brendan.scot> (Brendan Tildesley's message of "Sun, 30 Aug 2020 20:06:58 +1000") Message-ID: <871rj8gzz2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) 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: 41878@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=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=YADvMPsj; 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-Spam-Score: 0.09 X-TUID: Fq8yTvw7U6rK Dear, On Sun, 30 Aug 2020 at 20:06, Brendan Tildesley wrote: > I have not looked closely but from observation I think currently guix first > decides if it is going to commit to using a substitute, or falling back to > building locally, by checking if substitutes are available then committing to > a method. This differs from the concept of a fallback in my head, which would > involve trying option B only after option A has been tried and failed. guix's > way means there are a class of failures where guix simply gives up and stops > instead of falling back. What do you mean? > In my experience, probably 10% of the time I try a guix pull; guix package -u > ., there is some weird network error that doesn't happen the second time I run > it. Perhaps it would be sufficient to simply try twice for every substitute; > accumulate a list of failed substitutes and retry them after iterating through > the list of substitutes to download, then if that fails try building from > source. only then are we allowed to give up. It rings a bell to me. Something about the configuration of Cuirass and the build farm serving the substitutes; related to caching. But I am not able to find the relevant pointer. All the best, simon