From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SOVjD+Qt+GHJHAAAgWs5BA (envelope-from ) for ; Mon, 31 Jan 2022 19:43:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aFSvDOQt+GGnWQAA9RJhRA (envelope-from ) for ; Mon, 31 Jan 2022 19:43:48 +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 A62DC1929C for ; Mon, 31 Jan 2022 19:43:47 +0100 (CET) Received: from localhost ([::1]:40444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEbeT-0000eU-Hi for larch@yhetil.org; Mon, 31 Jan 2022 13:43:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEbYx-0000cQ-5R for bug-guix@gnu.org; Mon, 31 Jan 2022 13:38:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEbYw-00053W-ON for bug-guix@gnu.org; Mon, 31 Jan 2022 13:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEbYw-0005Ro-JG for bug-guix@gnu.org; Mon, 31 Jan 2022 13:38:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53668: Updating substitutes on LAN hosts dies unexpectedly Resent-From: Simon Streit Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 31 Jan 2022 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53668 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 53668@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164365427020909 (code B ref -1); Mon, 31 Jan 2022 18:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jan 2022 18:37:50 +0000 Received: from localhost ([127.0.0.1]:40750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEbYW-0005Qd-6l for submit@debbugs.gnu.org; Mon, 31 Jan 2022 13:37:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:42116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEbYU-0005QV-K1 for submit@debbugs.gnu.org; Mon, 31 Jan 2022 13:37:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEbYT-0000Hy-H9 for bug-guix@gnu.org; Mon, 31 Jan 2022 13:37:34 -0500 Received: from smtprelay05.ispgateway.de ([80.67.18.28]:23771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEbY9-0004wW-KE for bug-guix@gnu.org; Mon, 31 Jan 2022 13:37:18 -0500 Received: from [79.252.155.190] (helo=motorball) by smtprelay05.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nEbXU-0004QO-Ct; Mon, 31 Jan 2022 19:36:32 +0100 From: Simon Streit Gcc: nnfolder+archive:sent.2022-01 Date: Mon, 31 Jan 2022 19:37:05 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Df-Sender: bGlzdHNAbmV0cGFuaWMub3Jn Received-SPF: none client-ip=80.67.18.28; envelope-from=simon@netpanic.org; helo=smtprelay05.ispgateway.de X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, NUMERIC_HTTP_ADDR=1.242, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, WEIRD_PORT=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , 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=1643654627; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=hWtdrvy4sSE+6fWXDGtJbFgfOBQve9h8vudeVpc4zAU=; b=nUOmR9zMSax2T3/qRACZu0h+8JwC+Lu2xyxB5npCuzGtau6lml+0BVDHJ63c5NRo+/S1Jq OdlaXMESXz2sjSxVMZveNusDTH1MmZ7Jio3bnVxLOq853XWrpiCVA3/mURPeWPujMKym1l lUa75tXKd96m5M2gfBbNGBQJ/39+E44ISu+xnXTN+gW27y+mh6mSBM1S7dZllURTkYdwTm I4NWJ5GCpmWw8YLghFZHHh1nntW33N8I1JkIPIvjp2nx3JHKkQsbY2Q1AYlsSV+0Uj+o2j 6Hq2/vBm0m2gf5yJrYsE0pGXSL/DeAhcoEOTqgpIhy2XWSVinXbXWMg9NFyTqw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643654627; a=rsa-sha256; cv=none; b=k7Ov/bkeY8vP6Wt/B9L+NdHdRqfqvBV6Jzcfrx5t8g6G1nbQNYEbvuNdIvqkmziPHwsgL3 4Qw4ACdhXTSveuzHCm6Xet1jwytuuMB2sCkGUdRaQD7Lo/C6R8GLyigfY9An+Sav8hO8hY xxt8k1MZqAIDngb0QrQuadLKv2BWFLD0i7ehfMbdet6PQodthpYDIhPYPJANQGqcBGxKda ebH/K/M9vx4hbob1093OWhfVvjeoaEKIKyVwiQQF3+Y6671OIsn8vPIoRMQOdz3N8A68CM PU/3pBFNf5zUCi+sb20AoUoNMPVlRda7qwMAf9qoMYUdT/5HdTP0eCxSro2Cpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -4.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: A62DC1929C X-Spam-Score: -4.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9RlixLljk58U 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: --8<---------------cut here---------------start------------->8--- ~ $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: (#<&assertion= -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 --8<---------------cut here---------------end--------------->8--- 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: --8<---------------cut here---------------start------------->8--- (service guix-publish-service-type (guix-publish-configuration (host "0.0.0.0") (port 3000) (ttl #f) (advertise? #t))) --8<---------------cut here---------------end--------------->8--- and of course host discovery in guix-service-type too. Kind regards Simon [1] https://issues.guix.gnu.org/52464