From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 21 16:18:09 2021 Received: (at 47867) by debbugs.gnu.org; 21 Apr 2021 20:18:09 +0000 Received: from localhost ([127.0.0.1]:59891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZJIW-0001Ok-Qk for submit@debbugs.gnu.org; Wed, 21 Apr 2021 16:18:09 -0400 Received: from pelzflorian.de ([5.45.111.108]:52744 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZJIU-0001Oa-MR for 47867@debbugs.gnu.org; Wed, 21 Apr 2021 16:18:08 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 2C3A436063D; Wed, 21 Apr 2021 22:18:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1619036285; bh=2fJORha9owLxuBBl6+r6y2SPrhcYMpZjQ3x9knSLC0A=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=eLXckX4hX1qFo0bqUwGDhshyDnhuI7L/u9CmZjKamBv1/45fmpNbJ6fdly3laeyYu ShhImaE72jwmGrrP0qKXZ2m+x1aCJD+ltO8wCDLLKt8AHf1F7DtCvAlzy+nmOTSOWp L5CwNa/2qeyMykg0YPv+jNP/Aix5A7t5NDg04o+E= Date: Wed, 21 Apr 2021 22:17:56 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#47867: [1.2.1 pre-release testing] substitute downloading and TLS errors Message-ID: <20210421201751.3mygidtwio2yz7j4@pelzflorian.localdomain> References: <87lf9hsh9t.fsf@gmail.com> <20210418093856.a6r2zqw2gks56dg5@pelzflorian.localdomain> <87a6pvnbjg.fsf@gnu.org> <20210418113337.z3afnp4lmt55cjvw@pelzflorian.localdomain> <20210418121006.4ihop3umb2oyofum@pelzflorian.localdomain> <20210419080516.piqb52s32h3fe5ag@pelzflorian.localdomain> <20210420012113.jcwuzfx6k3by5nvo@pelzflorian.localdomain> <20210420152754.a3ucylrdugrmxu57@pelzflorian.localdomain> <8735vk8ttp.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8735vk8ttp.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47867 Cc: guix-devel@gnu.org, jcguu95 , 47867@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sorry for the slow response. On Wed, Apr 21, 2021 at 12:38:58AM +0200, Ludovic Courtès wrote: > Hi Florian, > > "pelzflorian (Florian Pelz)" skribis: > > On Tue, Apr 20, 2021 at 03:21:13AM +0200, pelzflorian (Florian Pelz) wrote: > >> > git revert be5a75ebb5988b87b2392e2113f6590f353dd6cd > > It seems this is the bad commit. Downloading the enlightenment > > substitute got stuck and after a few minutes displayed the usual TLS > > error. > Note that on master there have been changes in this area since this > commit, in particular 20c08a8a45d0f137ead7c05e720456b2aea44402. I have tested 20c08a in my reverts, it is neither the bad commit nor does it fix it. > I assume the error we’re after is still this one: > > >> | substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%guix substitute: error: TSL error in procedure 'write_to_session_port': Resource temporarily unavailable, try again. Yes. > I believe the attached patch “addresses” this problem. It still gets stuck (sometimes with enlightenment, one time with udisks, restarting the install fixed it once). After getting stuck, this different error message is shown now; no TLS error (copied by manual typing, there may be typos): gtk-doc-1.28 653KiB 2.4MiB/s 00:00 [####################] 100.0% udisks-2.8.4 842KiB 1.6MiB/s 00:00 [####################] 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%Backtrace: substitute: In ice-9/boot-9.scm: substitute: 1736:10 17 (with-exception-handler _ _ #:unwind? _ # _) substitute: In unknown file: substitute: 16 (apply-smob/0 #) substitute: In ice-9/boot-9.scm: substitute: 718:2 15 (call-with-prompt _ _ #) substitute: In ice-9/eval.scm: substitute: 619:8 14 (_ #(#(#))) substitute: In guix/ui.scm: substitute: 2164:12 13 (run-guix-command _ . _) substitute: In ice-9/boot-9.scm: substitute: 1736:10 12 (with-exception-handler _ _ #:unwind? _ # _) substitute: 1736:10 11 (with-exception-handler _ _ #:unwind? _ # _) substitute: 1731:15 10 (with-exception-handler _ _ #:unwind? _ # _) substitute: In guix/scripts/substitute.scm: substitute: 745:18 9 (_) substitute: 346:26 8 (process-query # _ #:cache-urls _ #:acl _) substitute: In guix/substitutes.scm: substitute: 358:27 7 (lookup-narinfos/diverse _ _ # substitute: 315:31 6 (lookup-narinfos _ _ #:open-connection _ # _) substitute: 238:26 5 (fetch-narinfos _ _ #:open-connection _ # _) substitute: In ice-9/boot-9.scm: substitute: 1669:16 4 (raise-exception _ #:continuable? _) substitute: 1669:16 3 (raise-exception _ #:continuable? _) substitute: 1764:13 2 (_ #<&compound-exception _ components: assertion-fail…>) substitute: 1669:16 1 (raise-exception _ #:continuable? _) substitute: 1669:16 0 (raise-exception _ #:continuable? _) substitute: substitute: In ice-9/boot-9.scm:1669:16 In procedure raise-exception: substitute: In procedure %read-line: Wrong type argument in position 1 (expecting open input port): # guix system: error: `/gnu/store/k3n98i1fk9awd5ydv4ry4k4rlpp7i13m7-guix-1.2.0-22.c467718/bin/guix substitute' died unexpectedly Command failed with exit code 1. Press Enter to continue. > Can you reproduce the substitute issue in a simpler environment? > For instance, by running: > > rm -rf ~/.cache/guix/substitute/ > ./pre-inst-env guix weather $(guix package -A |head -2000 |cut -f1) Nope, this always works without issue. Ricardo had written about TLS errors with 0ad some two or three days ago, but I do not get errors with 0ad. The issue is present when installing Enlightenment DE from the installer on both my Macbook and my Beebox every time, but not when installing to a VM (but maybe it was just luck) Regards, Florian