From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6Jb0MUzPe2IebgAAbAwnHQ (envelope-from ) for ; Wed, 11 May 2022 16:59:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wJ3tMUzPe2LfnAAAauVa8A (envelope-from ) for ; Wed, 11 May 2022 16:59:24 +0200 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 2DA342DF54 for ; Wed, 11 May 2022 16:59:23 +0200 (CEST) Received: from localhost ([::1]:55476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nono9-00044j-U6 for larch@yhetil.org; Wed, 11 May 2022 10:59:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nonnq-00042V-Sp for bug-guix@gnu.org; Wed, 11 May 2022 10:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44200) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nonnp-00030B-Qr for bug-guix@gnu.org; Wed, 11 May 2022 10:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nonnp-0007er-Qg for bug-guix@gnu.org; Wed, 11 May 2022 10:59:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#53668: Updating substitutes on LAN hosts dies unexpectedly Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 May 2022 14:59:01 +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: Maxim Cournoyer Cc: Simon Streit , 53668@debbugs.gnu.org Received: via spool by 53668-submit@debbugs.gnu.org id=B53668.165228109529363 (code B ref 53668); Wed, 11 May 2022 14:59:01 +0000 Received: (at 53668) by debbugs.gnu.org; 11 May 2022 14:58:15 +0000 Received: from localhost ([127.0.0.1]:38097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nonn5-0007dX-7a for submit@debbugs.gnu.org; Wed, 11 May 2022 10:58:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nonn4-0007dH-4T for 53668@debbugs.gnu.org; Wed, 11 May 2022 10:58:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42602) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nonmy-0002uJ-Og; Wed, 11 May 2022 10:58:08 -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=Ab3MBruVYTt/ZV0jvqQf/iSKqZymaMBg5ZPiB4nLQOc=; b=fmASZ50GeQT5dZsrqSRs oNqMVVJlOlWCdYPWHsWp5VZyH6yYGjJe6jCFDYEF4gOwQ50fIMUYBzqjkhz/JpP4eQNsOmqpG2At3 22GEmQ+3mhCCH5nEpAFoUYfSvioiZHQdFpGFJ3zXvucov8DaCObrGoXuGFks2zEOKKhyzcXr6MH2R QbByZGVOwupo1Jr05DmON3uorHOYc249b/MPPwAb9pTovMjXej95d896niha7cjLrsKC5eUqvHIvB yXdCX/Lm/wD1hSjlSV1IEtTBGA1siutWUy2YLc9HOnbHm1lyDUheVRYLcOvSX9YbEgZ+2NlkWD69K yGDV+ekdIJZHKQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:61575 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nonmw-0006jn-BW; Wed, 11 May 2022 10:58:08 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87czk7l4qu.fsf@gmail.com> Date: Wed, 11 May 2022 16:58:03 +0200 In-Reply-To: <87czk7l4qu.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 31 Jan 2022 21:06:49 -0500") Message-ID: <87zgjom804.fsf@gnu.org> 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-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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652281164; 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=Ab3MBruVYTt/ZV0jvqQf/iSKqZymaMBg5ZPiB4nLQOc=; b=Ewt8IpP/JKjeLoGSwQ0s8DjVvnpCDEG/nWQ39N3IjiWt1H9xDWqM8xmyZ/C76uox+eAmxT oPpU3Gz8dUiR5ZB4wiMIyM94IuzI3HCkOWE6fcnnn+21mGJ3AEst4kBsn+33+4QZL2May4 ZTE4QYQCyK4Zxr6w7o8AACL+K87HhRzEScH6KC0gRm+tLRv641/4gyt7fMB+aHloZrbbjq uI7c4w7Z5EsnX3y5CmoZjYHJI449VW2Ri1BGRKpWSAHElsIW2uQEiLeSP7Klyvn6DFrZ/Q JeHy/666CRjw2XFexbcWrwXqFTnSuDNf96wdGbrqsXESFtXjmPSoQIoXuZmlgw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652281164; a=rsa-sha256; cv=none; b=VAP/f9/7qA9OuF0zbhc+lNas11DcLgFz75RXFTvEVDU+aklg1iDk7dvtdERTL+Br90bYgz OOrp03vmTnqxG2oiy1iCWSJo3S4EHxKY0uyPqW9Tmtxz8NKpa0OCRrogDYvhSn0boKhRtA cH8xyoSWj0M3Kxuz/CRtyRnYHlyfACErCr15RZkl4KmtI5SPh2W9P3MsEHjMues34qhcRx 9Y7McO+dfxYjWHPuNGoApRCF2RA1XOydEZMQgpQGsJTK57926iAMu/0kib7oU3WQAvkTaF OqEIxccg3EXoZY+HiiHSxX9BgMHc6eB32B5iU8jZXX+a95C5dVv4Z5YdKgHkmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=fmASZ50G; dmarc=pass (policy=none) header.from=gnu.org; 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.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=fmASZ50G; dmarc=pass (policy=none) header.from=gnu.org; 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: 2DA342DF54 X-Spam-Score: -4.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: YjXwQGE28Itp Hello! Maxim Cournoyer skribis: > Simon Streit writes: > >> 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: (#<&assert= ion-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 > > I suffer from this routinely on my slow HDD machine. I attribute the > failure to some timeout that isn't reported correctly by guile-ssh. Guile-SSH is not involved here though. However, this may well be this =E2=80=98guix publish=E2=80=99 bug that was = recently fixed, whereby =E2=80=98guix publish=E2=80=99 without =E2=80=98--cache=E2= =80=99 would send bogus HTTP replies: https://issues.guix.gnu.org/54723 Could you confirm? Ludo=E2=80=99.