From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6OflEhFM+GEo/wAAgWs5BA (envelope-from ) for ; Mon, 31 Jan 2022 21:52:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IBqXCxFM+GHzZAAAG6o9tA (envelope-from ) for ; Mon, 31 Jan 2022 21:52:33 +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 A685FD640 for ; Mon, 31 Jan 2022 21:52:32 +0100 (CET) Received: from localhost ([::1]:59018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEdf5-0006t1-Qj for larch@yhetil.org; Mon, 31 Jan 2022 15:52:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEdDX-00089S-1i for bug-guix@gnu.org; Mon, 31 Jan 2022 15:24:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48151) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEdDW-00070A-NK for bug-guix@gnu.org; Mon, 31 Jan 2022 15:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEdDW-0002Z8-Eh for bug-guix@gnu.org; Mon, 31 Jan 2022 15:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53668: Updating substitutes on LAN hosts dies unexpectedly Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 31 Jan 2022 20:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53668 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Simon Streit Received: via spool by 53668-submit@debbugs.gnu.org id=B53668.16436606339843 (code B ref 53668); Mon, 31 Jan 2022 20:24:02 +0000 Received: (at 53668) by debbugs.gnu.org; 31 Jan 2022 20:23:53 +0000 Received: from localhost ([127.0.0.1]:41054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEdDM-0002Yg-JH for submit@debbugs.gnu.org; Mon, 31 Jan 2022 15:23:52 -0500 Received: from mout01.posteo.de ([185.67.36.65]:38855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEdDK-0002YT-Ar for 53668@debbugs.gnu.org; Mon, 31 Jan 2022 15:23:51 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 14BFD24002C for <53668@debbugs.gnu.org>; Mon, 31 Jan 2022 21:23:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1643660624; bh=Ku8i6P+Ioh2lAqXTn7en4O64Pcp9fX/O1aPwwDjpBqs=; h=From:To:Cc:Subject:Date:From; b=Pgwg7jJg2xUG/KzEmanRlwOf3ir8/IpEzCtg0cs+JyksH8/RLYUjjQRFC3zPJU6A1 +vB+9pEOKBwZGKT/aOBGlf5WZ6CkQWLbfyN1c+A1w+gvfWq4j1GHUI2KcTa/AiqAB+ CLiWzgFgktuJZznruxkDSKVOnd01Sd02kuVUhMtiDiu0dxDlyGawdpuCUCvoWaSGkD 7LV4iThCJ3LOoz7LEWRBo6HeeVQptJI+Zmyd5JIYDVGJT0WPH7gEligX8z49dXepvH psuJSZTG3YPzvLXPc0V2A9n9i4MutpK+LUmihTsBUI7Zrbt1UvmK3IJ0OzSwFDNUOm pUNzzFvMmmCCg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Jnff64fBPz6tmK; Mon, 31 Jan 2022 21:23:42 +0100 (CET) References: From: Guillaume Le Vaillant Date: Mon, 31 Jan 2022 20:17:34 +0000 In-reply-to: Message-ID: <87r18n64du.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: 53668@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1643662352; 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: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=nkscbBmyIqSPrngX1wlwUhlyU/dVrkSV4pophNixeog=; b=dp53gaJ0zWwI7XwHSJ1LU9M651lLZfW5QwXKvj+i00mWXummjwtwv2+BATNdcee7Kt1a4k 44paIxwReqQX7ka5tZj2OT3h6VI1H1EG3HyF0x8M7H1RyvY0rSTOYYQlinm7VTeBDn8SwJ kmKvGCP4el7dOMcR9zx9U7nmaggdwGs3RkryrqwhdVRu5TnR6zqX8CtrcX3IIcmOdWlWx5 pFsj32/2sA/go1wzbYjYG4+XeYPjF6stK5vidn99LmcXijbCrjMFrG4hclAYBovARgiVN6 S0yodZAvNhcvdd/Yfo3LTsL+UKx4V3SPWHsW1SGUE5rss2EevM0Hw3RhSBQX/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643662352; a=rsa-sha256; cv=none; b=cLJk1szZ3QRcHnD87NIVCGYFWJNbigYuMaLEjuOmO6+GIQvhOiKBZVAvJWuGOtffyTJLb6 oOX49LcMgA6tu92xghSZMDNHhDo4wM3PcHQhAgHDEozP22W2PuAOYHxRGBZv+KdS2iaEz6 Kf7NyeEK8Na4ueWA0qTX5Gge/XpDRWb9pAJc/cWcy61XyDRGr/AviT2TcepYUHwVgwWEfW VxUdObcwO/Jkq8NqV2b8ad1bOGq6iSCgVzXPVm7m707F+Zo5Z6IYUrurmiSXnap00kI8o4 WB2m2bTS3QyzpFQPluhE4BSopff+5JPhJvvZgjuj/kg3Lq1ath440Tkja5754w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Pgwg7jJg; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Pgwg7jJg; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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: A685FD640 X-Spam-Score: -3.83 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2dl6S5CJNg7f --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Simon Streit skribis: > Hello, > > quite often, and quite randomly I run into this situation that whenever > Guix tries to rebuild a profile, and sometimes while downloading from > local Guix hosts sharing their store items, the process will crash with > the following error: > > ~ $1 reconfigure > substitute: updating substitutes from 'http://192.168.0.157:3000'... 56.= 3%Backtrace: > substitute: In ice-9/boot-9.scm: > substitute: 1752:10 17 (with-exception-handler _ _ #:unwind? _ # _) > substitute: In unknown file: > substitute: 16 (apply-smob/0 #) > substitute: In ice-9/boot-9.scm: > substitute: 724:2 15 (call-with-prompt _ _ #) > substitute: In ice-9/eval.scm: > substitute: 619:8 14 (_ #(#(#))) > substitute: In guix/ui.scm: > substitute: 2206:7 13 (run-guix . _) > substitute: 2169:10 12 (run-guix-command _ . _) > substitute: In ice-9/boot-9.scm: > substitute: 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _) > substitute: 1752:10 10 (with-exception-handler _ _ #:unwind? _ # _) > substitute: In guix/scripts/substitute.scm: > substitute: 757:18 9 (_) > substitute: 348:26 8 (process-query # _ #:cache-urls = _ #:acl _) > substitute: In guix/substitutes.scm: > substitute: 365:27 7 (lookup-narinfos/diverse _ _ # =E2=80=A6) > substitute: 322:31 6 (lookup-narinfos _ _ #:open-connection _ # _) > substitute: 245:26 5 (fetch-narinfos _ _ #:open-connection _ # _) > substitute: In ice-9/boot-9.scm: > substitute: 1685:16 4 (raise-exception _ #:continuable? _) > substitute: 1685:16 3 (raise-exception _ #:continuable? _) > substitute: 1780:13 2 (_ #<&compound-exception components: (#<&asserti= on-fail=E2=80=A6>) > substitute: 1685:16 1 (raise-exception _ #:continuable? _) > substitute: 1685:16 0 (raise-exception _ #:continuable? _) > substitute: > substitute: ice-9/boot-9.scm:1685:16: In procedure raise-exception: > substitute: Wrong type (expecting exact integer): #f > guix system: error: `/gnu/store/kcc8zh1fhp05wgw2m48w3gk228j39f5q-guix-1.3= .0-21.e427593/bin/guix substitute' died unexpectedly > > > Unfortunately this crash happens at random. Other times it goes > through. Current checkout is ff14bc60e56fb0c6636da1da9a850b7b04abb367, > which isn't the most current, I know. I've been observing this behavior > since some time now, and haven't figured out what the reason is behind > it yet. The error message looks similar to [1]. > > The way this error appears is, that I usually have one host that I > upgrade first, and then share the checkout and the store between hosts > to speed up the upgrading process locally. Unfortunately the updater > will crash randomly whenever the host starts scanning other hosts that > are found through mDNS. Sometimes this happens while fetching new > packages into a profile. > > I've set up publishing: > > (service guix-publish-service-type > (guix-publish-configuration (host "0.0.0.0") > (port 3000) > (ttl #f) > (advertise? #t))) > > and of course host discovery in guix-service-type too. > > > Kind regards > Simon > > > [1] https://issues.guix.gnu.org/52464 Hi, I have also seen this kind of crashes on my LAN. I don't know what causes this issue, but I noticed that it has happened less often since I activated the cache for the guix-publish service. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYfhFTQ8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j898QD+PNojQz8a7Lq9wMwiJpnBXglOWgcX7pskNJtX rOsMI4kBAJeSEWQrmU00INAr3nO7sdWoVqWuX+qWWq/fsfSUkv6P =yNEt -----END PGP SIGNATURE----- --=-=-=--