From unknown Fri Aug 15 18:48:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#58204 <58204@debbugs.gnu.org> To: bug#58204 <58204@debbugs.gnu.org> Subject: Status: guix system reconfigure hangs silently when substitute server is unreachable Reply-To: bug#58204 <58204@debbugs.gnu.org> Date: Sat, 16 Aug 2025 01:48:04 +0000 retitle 58204 guix system reconfigure hangs silently when substitute server= is unreachable reassign 58204 guix submitter 58204 Maxim Cournoyer severity 58204 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 30 17:15:42 2022 Received: (at submit) by debbugs.gnu.org; 30 Sep 2022 21:15:42 +0000 Received: from localhost ([127.0.0.1]:43052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeNME-00053c-0I for submit@debbugs.gnu.org; Fri, 30 Sep 2022 17:15:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:41368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeNM9-00053P-5e for submit@debbugs.gnu.org; Fri, 30 Sep 2022 17:15:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeNM8-0004KX-UZ for bug-guix@gnu.org; Fri, 30 Sep 2022 17:15:37 -0400 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]:45718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeNM7-0003jp-EP for bug-guix@gnu.org; Fri, 30 Sep 2022 17:15:36 -0400 Received: by mail-qt1-x82a.google.com with SMTP id r20so3436925qtn.12 for ; Fri, 30 Sep 2022 14:15:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date; bh=ldoiJPAp+JtJVH5bT0wvxvaWKXG6vWWVas1iWbgh14o=; b=hLwH9uJX1cBUSbdouYNyp3rbChBfJAVOaC2YGPZBnZxHxF/uMEd6UJaEcrsjMD90Pk LIAjRr7PAdU05uEgQwN4xJxz0p3GtRIvUmBqnAHFl/lyf3kFOONAqDCXtjc2KrO40ZgV TdtdCSXqG/jH1lhLpRhNPWBGxch3JBf7IqmBWi49MenrBtStDUsxRu8VMecP0hPI8WaZ iIBpHo601LQun7tIumehjJZmhL3H53YLmu3aJm+Wb75dBwEevXfM0PEtFAY0zmXSKaix AJ7iGKnhk9oURh1GTadWHKkGlDQki22XCBtNRL1MHH+qg6ItGqOyzfKhYz+gFTOuhObr jTZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date; bh=ldoiJPAp+JtJVH5bT0wvxvaWKXG6vWWVas1iWbgh14o=; b=YqwVxsIchEN1qUUFLbKesrPlIw8snmhrass4KdEKTucyqb3LgaWzo2i3XtA4MaM5Zo HhXqGZs36qZINh9W1VXUxzkoVx3vvmO3d0LVZ95Ex0Pl6Da1UP2ApsRu6c8dx8LeKk7v e/MeWm3krnQi1vv02Opur2+oDhX0fmgI1m8oBbubznHrWorj0CkjiqiQdV9+Jhph77ec w8sP2HBGOYD9L0kt12LNZLl2OuujEKI7A5gpDY0jNy0hDQki0BNJMGYSVFHoCFZ107hd LLCsGxW2+1vaHmEVE8gW0xLJDUwUgT8Dmw9HPNmHZ/P6B1sl0sPlGbIIiWB93gPElrhv 1yxA== X-Gm-Message-State: ACrzQf2e6t1gs91+BiqmM9HmWtFoGJi3EbWiklXGVusknmTYVT3KaXjf RdmJy5izindvXi9S9kqQ173SABXqYoU= X-Google-Smtp-Source: AMsMyM6JMlvvttXlBjhDaG+S0YuzCdgpGbCKgvtLRBn/1S6Yn1sI8ryFX090GyxtA5ZSqREzytPeCQ== X-Received: by 2002:ac8:5d8c:0:b0:35c:ce79:29c1 with SMTP id d12-20020ac85d8c000000b0035cce7929c1mr8546543qtx.118.1664572534284; Fri, 30 Sep 2022 14:15:34 -0700 (PDT) Received: from hurd (dsl-10-141-205.b2b2c.ca. [72.10.141.205]) by smtp.gmail.com with ESMTPSA id f7-20020a05620a280700b006be8713f742sm3493694qkp.38.2022.09.30.14.15.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Sep 2022 14:15:33 -0700 (PDT) From: Maxim Cournoyer To: bug-guix Subject: guix system reconfigure hangs silently when substitute server is unreachable Date: Fri, 30 Sep 2022 17:15:32 -0400 Message-ID: <87k05klg23.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::82a; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi, While fixing up Berlin today, I had to use '--no-substitutes' on the daemon started per 'info (guix)Chrooting', otherwise it'd hang up without printing any of the warnings (totally silent). Using strace, I could see: --8<---------------cut here---------------start------------->8--- guix substitute: warning: ci.guix.gnu.org: host not found: System error --8<---------------cut here---------------end--------------->8--- It'd be nice if these warnings were propagated all the way up so the user would realize what is happening and take action. -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 03 17:30:08 2022 Received: (at 58204) by debbugs.gnu.org; 3 Oct 2022 21:30:09 +0000 Received: from localhost ([127.0.0.1]:51819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofT0q-0004LX-Kn for submit@debbugs.gnu.org; Mon, 03 Oct 2022 17:30:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofT0o-0004Jm-V5 for 58204@debbugs.gnu.org; Mon, 03 Oct 2022 17:30:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofT0i-0005M3-KC; Mon, 03 Oct 2022 17:30:01 -0400 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=OsNPmjWmEZHprSRAsEVroht1eFm4IrlQp4Hfqm2ag3Q=; b=GhzIKTSVMforeGMn2DwG Sjfh7v6W3/+7b0PSKra8JcCD30AOXk5S3qKiKYlivnGKhaqBQpZANRoBLiuoxnyl56tcHd9i36nEE hC6QLzqI5geL8NsaDDrXTMPW/9qXzVeMtAfq0xockAdpC0T6AtpUkoRKRmOenlxKWOtFYday4GU3j 9pr45eQl9S5hqE/kdX9TMZOn+LpvVlbx4A22g2cLnDo9x82w5mFuLtcMtQWayJRIn+VKZvhH9izZz FAsf5M+WcVib19rG9uLjIFE7S2umec/Op6b5BzQCgFLkaRtxfab+OVcHtc+jhwyyNtjVISTpzWYN0 9KPWtFdeQzw4Zw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:54110 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofT0i-00080h-5A; Mon, 03 Oct 2022 17:30:00 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Subject: Re: bug#58204: guix system reconfigure hangs silently when substitute server is unreachable References: <87k05klg23.fsf@gmail.com> Date: Mon, 03 Oct 2022 23:29:57 +0200 In-Reply-To: <87k05klg23.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 30 Sep 2022 17:15:32 -0400") Message-ID: <87o7uswq7e.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58204 Cc: 58204@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Maxim Cournoyer skribis: > While fixing up Berlin today, I had to use '--no-substitutes' on the > daemon started per 'info (guix)Chrooting', otherwise it'd hang up > without printing any of the warnings (totally silent). Using strace, I > could see: > > guix substitute: warning: ci.guix.gnu.org: host not found: System error > > It'd be nice if these warnings were propagated all the way up so the > user would realize what is happening and take action. I think it=E2=80=99s supposed to be propagated. In the example above, I guess there were cached ci.guix.gnu.org narinfos for those substitutes and the =E2=80=9Chost not found=E2=80=9D error arose = when actually trying to substitute these, right? I=E2=80=99m surprised substitution didn=E2=80=99t just crash. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 03 21:47:02 2022 Received: (at 58204) by debbugs.gnu.org; 4 Oct 2022 01:47:02 +0000 Received: from localhost ([127.0.0.1]:52018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofX1S-0002CU-AG for submit@debbugs.gnu.org; Mon, 03 Oct 2022 21:47:02 -0400 Received: from mail-qt1-f172.google.com ([209.85.160.172]:45848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofX1Q-0002C1-MJ for 58204@debbugs.gnu.org; Mon, 03 Oct 2022 21:47:01 -0400 Received: by mail-qt1-f172.google.com with SMTP id r20so7426744qtn.12 for <58204@debbugs.gnu.org>; Mon, 03 Oct 2022 18:47:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date; bh=gJ2vTY5ofMPxKgTER/qfZ75otxlVa2vEwHZa2VKOjVA=; b=PN5Y3t1VuyQ1DM3E6n3UHb7OXP+TvG+pYrKejP9Jo0MY5hs7cxa/Ud5BwuQMxlxBvl 23nxPuBeftKOYCQdXMKpwNAcOyDaiz+ZGLPNaSgaKiyOcw9K0EgPQgYQ4pfqA7S/lyOC z2DKkfiZkbR1SnJTd2RUoKi3KNOkD6jznVdgi1noeuOsOeWbli3pzcKbsdkNwAwzY8cf nISW0xY77nUDzaWKmec74+Dak4DzeZ6cjq0gTThwC7uLw92Q6AYWNP9kzonPc42+trtu Y7ShGWVKbf6UW2K/sEZ2dpPXmSTafng9L5dmjbb3rpgmPFWZYKqxGJykDd796r4mAu3U Nqlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date; bh=gJ2vTY5ofMPxKgTER/qfZ75otxlVa2vEwHZa2VKOjVA=; b=VDKT6QgDv/Lxvpo/9Wz8EOpIkL4rPTMsyPYx36LMwHvG6QQGuEstXHK8nnXXJqijUs SJrPAGKGRi3nyi4F/yfXG5VRXV92DOHri0K3Z62s7xGWyVDXg0ZgLwCjxr6gBTvk4bqf Tl6WOyYwMGHhsF3vhktktxYDroUWdWAMR2qQxWM6Q87t20kSpyeGU3FNPSrPSJ6Odym1 WgYFFgRUS8fmLK2+0Bo4yn4LX299b2P+36fWH76r5zYyyXHJ2HGbSBoPV80TO+omxcqU T3rrnh6lj6anborlNgB28pss0zFr2ipD9Uj6YHGKT61xq2dQ+qrxXGW1X75F8xx3eKrO t2GA== X-Gm-Message-State: ACrzQf1lbJQnp6DXwQpJHpG/xLGSn/lBB7kK00tb41nba4kACOGwv2ef ePsfSeCbPUW7ynhmzz9RMjIfvuD+2JI= X-Google-Smtp-Source: AMsMyM5MkVcJAYfVFeFV6k6L3KPALya+FgShYwOCQX7INpkNuGPRENMq1DGcpkot1dpqZzPNgCd+5w== X-Received: by 2002:a05:622a:1356:b0:35b:b0d3:71e5 with SMTP id w22-20020a05622a135600b0035bb0d371e5mr17883230qtk.51.1664848014913; Mon, 03 Oct 2022 18:46:54 -0700 (PDT) Received: from hurd ([2607:fad8:4:3::1007]) by smtp.gmail.com with ESMTPSA id y15-20020a05620a25cf00b006ce515196a7sm13248736qko.8.2022.10.03.18.46.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Oct 2022 18:46:54 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#58204: guix system reconfigure hangs silently when substitute server is unreachable References: <87k05klg23.fsf@gmail.com> <87o7uswq7e.fsf@gnu.org> Date: Mon, 03 Oct 2022 21:46:52 -0400 In-Reply-To: <87o7uswq7e.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 03 Oct 2022 23:29:57 +0200") Message-ID: <87pmf8icmr.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58204 Cc: 58204@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> While fixing up Berlin today, I had to use '--no-substitutes' on the >> daemon started per 'info (guix)Chrooting', otherwise it'd hang up >> without printing any of the warnings (totally silent). Using strace, I >> could see: >> >> guix substitute: warning: ci.guix.gnu.org: host not found: System error >> >> It'd be nice if these warnings were propagated all the way up so the >> user would realize what is happening and take action. > > I think it=E2=80=99s supposed to be propagated. It wasn't :-/. > In the example above, I guess there were cached ci.guix.gnu.org narinfos > for those substitutes and the =E2=80=9Chost not found=E2=80=9D error aros= e when actually > trying to substitute these, right? I guess so! It's not an easily situation to reproduce, so perhaps the best we can do is assume this was the case and validate the corresponding code path. Thanks, --=20 Maxim