From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id RxxzIMYF7V/AIwAA0tVLHw (envelope-from ) for ; Wed, 30 Dec 2020 22:57:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6AWrG8YF7V8fLQAAbx9fmQ (envelope-from ) for ; Wed, 30 Dec 2020 22:57:10 +0000 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 D92A69401CD for ; Wed, 30 Dec 2020 22:57:09 +0000 (UTC) Received: from localhost ([::1]:60022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kukOy-0000Ul-Rt for larch@yhetil.org; Wed, 30 Dec 2020 17:57:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kukOr-0000U0-VF for guix-patches@gnu.org; Wed, 30 Dec 2020 17:57:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kukOr-0006ut-Om for guix-patches@gnu.org; Wed, 30 Dec 2020 17:57:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kukOr-0001V5-MX for guix-patches@gnu.org; Wed, 30 Dec 2020 17:57:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45323] [PATCH] substitute: Reuse connections for '--query'. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 30 Dec 2020 22:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45323 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 45323-submit@debbugs.gnu.org id=B45323.16093689625657 (code B ref 45323); Wed, 30 Dec 2020 22:57:01 +0000 Received: (at 45323) by debbugs.gnu.org; 30 Dec 2020 22:56:02 +0000 Received: from localhost ([127.0.0.1]:51441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kukNu-0001T9-FG for submit@debbugs.gnu.org; Wed, 30 Dec 2020 17:56:02 -0500 Received: from mira.cbaines.net ([212.71.252.8]:43628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kukNs-0001SR-H6 for 45323@debbugs.gnu.org; Wed, 30 Dec 2020 17:56:01 -0500 Received: from localhost (92.41.186.20.threembb.co.uk [92.41.186.20]) by mira.cbaines.net (Postfix) with ESMTPSA id 5A48927BC05; Wed, 30 Dec 2020 22:55:59 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 52604a6b; Wed, 30 Dec 2020 22:55:56 +0000 (UTC) References: <20201219144952.2725-1-ludo@gnu.org> <87o8ikwoih.fsf@gnu.org> <871rffbgzk.fsf@cbaines.net> <87tus7thy1.fsf@gnu.org> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines In-reply-to: <87tus7thy1.fsf@gnu.org> Date: Wed, 30 Dec 2020 22:55:56 +0000 Message-ID: <87zh1u9a4j.fsf@cbaines.net> 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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45323@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D92A69401CD X-Spam-Score: -4.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: sHKoTAP/+wRb --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi! > > Christopher Baines skribis: > >> The Guix Build Coordinator uses code from this script, and I'm sometimes >> seeing exceptions like [1] when running with these changes. This is when >> calling lookup-narinfos. >> >> 1: >> #<&compound-exception components: (#<&error> #<&irritants irritants: (#<= gnutls-error-enum The specified session has been invalidated for some >> reason.> write_to_session_record_port)> #<&exception-with-kind-and-args = kind: gnutls-error args: (# write_to_session_record_port)>)>, >> >> When this happens, things seem to get stuck and retrying calling >> lookup-narinfos leads to the same exception. I'm guessing this might be >> happening because the broken connection is being cached and reused. > > Ah, that looks like another thing that might break. Does the patch > below help? I've tried using it, and I haven't spotted any problems yet, so I believe so. Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl/tBXxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XfN5A/+L5ttW8BPV9j4RDe2b8l7BmVEv9g+HdFh EXMEReI6tcSHIoeT1VHLjq9EGpluiCGTNavKBS4o5Nz9i7sXfXIloBCqzuXLzY0i V1BuCfChulLmgTQSar89V4eCfk6C+EAkw/Lq5vHVmDjtQT63mUJ8fnSWNvOw59Tq M9tGa8UPgu6h4urygVqkkjSxGihOWqvILCkcKssyhXhpSei6tPu//IzZ0A42af3+ lRTZdhlbhKBvOedCPP/P4VEGX+d4HtSacSFJ6Q/y5Quznk/oacqy7SD4ZaT9QQSC Qx2IiTxVaF2GdvLw2+SU4qvtEjfIO1bsWfg8qtPWjYULyF02oMPLzIFOE35DaAWY aZngSvqbpoUF9O4jne/sIpaKYapcxDo6Yw+oRpE+hO6ki7unTiSP/VRDM2fWtfBy j18tOuhRBaP+cA9rDgK3UKOSi5RFFTAXVWd4MuGX31RIDaIBt5IPBnPaGeRjjXa3 jFVKLIJvHYc5+0UdmmX9aTGqeYkP9vpmVgmFrzWm8bQ02FmJ+IupsWiPazvs4ijt 5sp/ttdAH60CTr3ORWP36mHYzcP7HcrhqYNdEUAr7lXUWnwDS8GVd2blY2xIjllA c3Qr0kv7/+P4oAZuqBMxtYfqkmj1gXVeuOjFVU97eqP15EQLgTXKeOZOEzv/Tbv4 kl8jNCGP6zg= =AOHt -----END PGP SIGNATURE----- --=-=-=--