From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id iJtrGxCGC2aRcAEA62LTzQ:P1 (envelope-from ) for ; Tue, 02 Apr 2024 06:14:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id iJtrGxCGC2aRcAEA62LTzQ (envelope-from ) for ; Tue, 02 Apr 2024 06:14:08 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=philipmcgrath.com header.s=fm2 header.b="P/Ui3z8f"; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="X CJV/JR"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712031248; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=GMg3i2ee8xxl/CN/Ji+8Oobb4WxwJHyBfPb7PNM51vs=; b=ZyiYB50aQYTQrY3SpKkUCDl9wvZBRJwAyG/jpqIcjzI4kUXl8iv33WpqI+lXPoHf3sro+p EDzXBYyZbIAd89N6Z2JrYv2ljyN4vkQaiS+taB1sTnpN7C4o1w9x0THb5E9SgwDbXNGHD1 EBYWa6Lb1xv1MWYKeZd5mjnlrq/za17hbQmCIYTr7WZwQ83d2ZX6cMeOGtJE8NmwnGst1F xmEgOUSTZI2+VT8aIgv3gYm6RgOQe9vSL0pz73rcTuS+fIPsetNw6kRDXIGGIuDE3dMdOk 6EdvISsci165t8ytUcFPZmBGRVtZl7sMbJt1yM9YaKtghksciQfKWCrdkb9XYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=philipmcgrath.com header.s=fm2 header.b="P/Ui3z8f"; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="X CJV/JR"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712031248; a=rsa-sha256; cv=none; b=MBluLruAo1PROttXL31GsDCqAtD2uh/IU1/Y6C2QOmSAJPzaXcOH2059ro+pEmuEfb806r aiI9MwaySOvzXbL0kbGrRP8NBhjHC8jvRz6i/aJFt6v6OodVgIU93oBoTkQ+RpU+QS9h03 kznrFIf4rKNWqMll/9Lkr2WSxf7aYdsXMJaubREW634b1OpgJH6Nx80NLMMKEl+yRt44hJ UvOmyToV2QTaYSQHXE5NoBmYdwRKDMdx2W6h+0501C2smlqhIy+qCcA1JQCtPbSroZYVCZ fK5ydx/OIRv+t9L8U7P/6eJ0Ba2FM2ygVJsXSP6/OlzH9LzjqLpVNIWxaCRZRg== 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 368D139E18 for ; Tue, 2 Apr 2024 06:14:08 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrVWp-0008Hh-6b; Tue, 02 Apr 2024 00:13:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rrVWo-0008HZ-DZ for guix-devel@gnu.org; Tue, 02 Apr 2024 00:13:42 -0400 Received: from wfout4-smtp.messagingengine.com ([64.147.123.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rrVWl-0000LP-Sc; Tue, 02 Apr 2024 00:13:41 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.west.internal (Postfix) with ESMTP id 2E9271C000D1; Tue, 2 Apr 2024 00:13:35 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 02 Apr 2024 00:13:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1712031214; x=1712117614; bh=GMg3i2ee8x xl/CN/Ji+8Oobb4WxwJHyBfPb7PNM51vs=; b=P/Ui3z8f2ofA+m0LRpU8X5N4g0 U/+fT84qObiK787ATHwwkHTlU7ai4Yv/gQxteNPE6je3fKxk0REJaZAiKm53O7IH gtlWgAUgg5QPXviy0aK5kAOy/cdPqjCrw+TH5yQcB5McK0V88ShyN7tm9m5/BXnu cmsagMjbFL5imMStrwbHkKsspltIGszmXxRvif5sk9dHgAfZABvom7iVYOc2F7Dk ES/ZdSLNsTdRSrnZjC1T9kyTyKgXrpHcYP76So8gpPluYsyLKs7FQFnbFLUVx9us 5Ruq6dcrXiVThQ+zG9HDjowkGrOKzC5nMC9ymr/RCL/hweEs03wMY63YBDUQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1712031214; x= 1712117614; bh=GMg3i2ee8xxl/CN/Ji+8Oobb4WxwJHyBfPb7PNM51vs=; b=X CJV/JRVu5BYNQWPiJWT+Q8PVQOLS9n6ASVy14MvejZIixlt/oTLlKt/Vi5GSIDCu 9hpyym/L6G7lCnplfJMA3M2qYgpEYw3ST+KUaQRW9Y6d59nGthnsaehFZ6ZmPhmd VxgitzK4oPYAGr4G/8SOfC4DTQEsBaHXnTM08Fpfbg8en3EFu59twiikvV1m+NRA A9qHE06gd9Kfa01EkmaEtnXHO7kCvhWBO2DNF9T/2v7h3nNuU8vWoSJKqx2n5j4m ChjM2bR+BOZdKNCcS2PFwwFUW8L4QyniZj7xHeIykWgY7FC2bqNiS9Bils/RtCZu ZPwBKF5TuoLrCLPoDbsvw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudefuddgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpefrhhhi lhhiphcuofgtifhrrghthhcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtg homheqnecuggftrfgrthhtvghrnhepuddthfefveeugeetfeehuddtffejhfelhfeuveel iedvjeekteehudeileevudeinecuffhomhgrihhnpehgnhhurdhorhhgpdgtsggrihhnvg hsrdhnvghtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepphhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtohhm X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 2 Apr 2024 00:13:33 -0400 (EDT) Message-ID: Date: Tue, 2 Apr 2024 00:13:32 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Error handling when 'guix substitute' dies Content-Language: en-US To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= , Ada Stevenson , Lars Bilke Cc: Guix Devel References: <1843db1b-0ed0-7e77-5a31-de8ee9ca56a5@gmail.com> <87le67rica.fsf@gnu.org> <4a012f56-b4d9-5ec6-e062-3f39aff5f055@gmail.com> <878r21gjkl.fsf@gnu.org> From: Philip McGrath In-Reply-To: <878r21gjkl.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.147.123.147; envelope-from=philip@philipmcgrath.com; helo=wfout4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -10.03 X-Migadu-Queue-Id: 368D139E18 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -10.03 X-TUID: UodiYsJFE9dy Hi, On 3/29/24 11:10, Ludovic Courtès wrote: > > [...] > > OK, I’ll push it shortly, but… > > Lars Bilke skribis: > >> thanks Ada for bringing this issue up again. I get the same error on >> `guix pull` almost always when I am on my enterprise >> network. Re-running `guix pull` a second time also almost always then >> runs fine. I checked with our IT: nothing suspicious on the network, >> i.e. no firewall blocking. >> >> I never experienced the error on my home network. > > … your reports make me think there’s a bug lurking somewhere that > perhaps only manifests under some precise networking or timing > conditions. > > Could the two of you run the following command in a loop to see whether > it’s easy to reproduce that GnuTLS error? > > guile -c '(use-modules (guix http-client) (ice-9 binary-ports)) > (get-bytevector-all (http-fetch "https://ci.guix.gnu.org/nix-cache-info"))' > > If you can reproduce it, could you capture the strace output of the > process? You would run the command above prefixed by: > > strace -o log.strace -s 300 … > I don't know if the root cause is related, but this reminded me of some networking errors I sometimes get accessing substitutes. I had the luck (good or bad?) to get an example while building , so I thought I'd report. > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > ERROR: > 1. &http-get-error: > uri: #< scheme: https userinfo: #f host: "bordeaux-us-east-mirror.cbaines.net" port: #f path: "/nar/lzip/r8w68mhsvqlkvazncvfn36jcpvz404x6-chez-fmt-0.8.11.tar.gz" query: #f fragment: #f> > code: 404 > reason: "Not Found" > headers: ((server . "nginx") (date . #) (content-type application/json (charset . "utf-8")) (content-length . 35) (connection keep-alive)) > 2. &message: "https://bordeaux-us-east-mirror.cbaines.net/nar/lzip/r8w68mhsvqlkvazncvfn36jcpvz404x6-chez-fmt-0.8.11.tar.gz: HTTP download failed: 404 (\"Not Found\")" > substitution of /gnu/store/r8w68mhsvqlkvazncvfn36jcpvz404x6-chez-fmt-0.8.11.tar.gz failed > guix build: error: corrupt input while restoring archive from # The last time this happened, I kept rerunning the command a bunch of times. When it succeeded with the first substitute with the problem, it hit the problem with another substitute, for several rounds, but eventually the whole thing succeeded. In this incident, the command failed a few times, so I ran: guix build --no-substitutes --source chez-fmt and then ran my original command again, successfully. Hope this is useful, Philip