From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 27 09:20:13 2023 Received: (at 62334) by debbugs.gnu.org; 27 Apr 2023 13:20:13 +0000 Received: from localhost ([127.0.0.1]:57777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ps1Xg-0000OY-IX for submit@debbugs.gnu.org; Thu, 27 Apr 2023 09:20:13 -0400 Received: from mail-wm1-f44.google.com ([209.85.128.44]:38139) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ps1XY-0000NV-Rt for 62334@debbugs.gnu.org; Thu, 27 Apr 2023 09:20:06 -0400 Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-3f167d0cbb7so17742415e9.0 for <62334@debbugs.gnu.org>; Thu, 27 Apr 2023 06:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682601599; x=1685193599; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=yCBN/g1Z1OOnTOkAeV+4EshL50T80Njhhpo/AlKNra4=; b=kCOGg0iLUYnowbVwQj9FGQEbgFvs0+sQhrtz5oz6OSEP5CFTcDhnQQeRO3tOYPCY3B 3LMk6M4GgGKvV1sIrdmV9MISxo8WujqP1JB6pdty4jxOyIVV5scZBEUg9CzJR3UBK4wV cRhEwPZ8Yh5tch152+nE8FiVCQrOq68HjW+MO/4lBJcj6MsH6qvtu+3xQGxMYvRby3gN 16BoN9kKWGMP4Np4FeZLcsJWuDQAsvceC27hwmn/EUXsOolMHuKgwX5znL8NZd4EBqO9 vZAWM7GHxQMV3TQZaEPkiJ/QkbpL/tyJN4rn9+XvaNBJj6ssbjY2WyVdXX8kteSUnjwB KOtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682601599; x=1685193599; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yCBN/g1Z1OOnTOkAeV+4EshL50T80Njhhpo/AlKNra4=; b=ezPW+V5PsAETka/ek4Vd9WI6WlM/IF4cJr6ahDw3dhPbu4K0ztFCJzLvYK8zE9WZDM srJLvjpOKBoKe4WgDJW6y4sEE9sdrbb+J/vncpIDqWxpC+34wgjZ4dHuP6A+wHAqSIIx naQEmAq/0f51OXSyYeFcrvQqGWC9+CeADGIDMHPt8dAU7aw8aIrj2IR/glZ76exhur7u KV5eWA5YVToCrethGpWqvHX8h4hKCPotdIirHs3x3Kadk2FnWs+j/oMJhSTnO95BOoWk jDqbSP00j65svw2Fp10o8Sq8FWrK/K1PjnFTzv0yKVrTa37ad9MPzoRDvw9bteVSGI1q UnEA== X-Gm-Message-State: AC+VfDzFsbccp8w5SSloKcYVyjjnE4c8ogpGNvz1cgoGFkcc4z/uoGQ1 cwVBxQzWY3QNa7w5pSnzNrGaGGhQvA8= X-Google-Smtp-Source: ACHHUZ5ywN3nkisrqQZi6fb676zv+KHMZcOED092seDpUbqQhWyloAf2hKhoLeh4X8dGEATTcFJyFA== X-Received: by 2002:a05:600c:3115:b0:3f0:a192:44ea with SMTP id g21-20020a05600c311500b003f0a19244eamr1647221wmo.0.1682601598564; Thu, 27 Apr 2023 06:19:58 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-46.net.univ-paris-diderot.fr. [194.254.61.46]) by smtp.gmail.com with ESMTPSA id b2-20020adff902000000b00304aba2cfcbsm2192800wrr.7.2023.04.27.06.19.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Apr 2023 06:19:58 -0700 (PDT) From: Simon Tournier To: Greg Hogan , 62334@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#62334: Network is unreachable only for recursive pypi import In-Reply-To: References: Date: Tue, 25 Apr 2023 14:23:11 +0200 Message-ID: <86ildkb174.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62334 Cc: Josselin Poiret , Maxim Cournoyer 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 (-) Hi, On Tue, 21 Mar 2023 at 10:17, Greg Hogan wrote: > --8<---------------cut here---------------start------------->8--- > $ guix describe > Generation 38 Mar 21 2023 13:38:52 (current) > guix 38b64d4 > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 38b64d47ed3dfaeb63b859e7a8834e477ffed3a1 > --8<---------------cut here---------------end--------------->8--- I can reproduce. > --8<---------------cut here---------------start------------->8--- > $ guix import pypi -r cdlib [...] > Starting download of /tmp/guix-file.xReGb4 > From https://files.pythonhosted.org/packages/49/01/21337857631a97ab551bb2= e3b5691ed6b1b9586011aa6a5355b9694a37fa/demon-2.0.6.tar.gz... > In procedure connect: Network is unreachable > > Starting download of /tmp/guix-file.xReGb4 > From https://web.archive.org/web/20230321140958/https://files.pythonhoste= d.org/packages/49/01/21337857631a97ab551bb2e3b5691ed6b1b9586011aa6a5355b969= 4a37fa/demon-2.0.6.tar.gz... > In procedure connect*: Connection timed out [...] > 586:17 2 (map1 (("demon" #f) ("nf1" #f) ("eva-lcd" #f) ("b=E2=80=A6" = =E2=80=A6) =E2=80=A6)) > In guix/import/utils.scm: > 630:33 1 (lookup-node "demon" #f) > In ice-9/boot-9.scm: > 1685:16 0 (raise-exception _ #:continuable? _) > > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > Wrong number of values returned to continuation (expected 2) > --8<---------------cut here---------------end--------------->8--- Well, tracking the origin of the failure =E2=80=9CIn procedure connect*: Connection timed out=E2=80=9D, it comes from =E2=80=99open-socket-for-uri= =E2=80=99, see (guix build download). Using the diff below, for some mysterious reasons, =E2=80=99connect*=E2=80= =99 throws the error: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix import pypi -r cdlib [...] Starting download of /tmp/guix-file.Ujg3KY From https://files.pythonhosted.org/packages/49/01/21337857631a97ab551bb2e3= b5691ed6b1b9586011aa6a5355b9694a37fa/demon-2.0.6.tar.gz... ;;; (uri "https://files.pythonhosted.org/packages/49/01/21337857631a97ab551= bb2e3b5691ed6b1b9586011aa6a5355b9694a37fa/demon-2.0.6.tar.gz") ;;; (before # #(2 2454407487 443) 10) ;;; (failed #) ;;; (closed) ;;; (uri "https://files.pythonhosted.org/packages/49/01/21337857631a97ab551= bb2e3b5691ed6b1b9586011aa6a5355b9694a37fa/demon-2.0.6.tar.gz") ;;; (before # #(10 5584993226756557710076326936930= 4187673 443 0 0) 10) ;;; (failed #) ;;; (closed) ;;; (boum) In procedure connect: Network is unreachable --8<---------------cut here---------------end--------------->8--- and note it is an issue on our side: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix import pypi -r demon ;;; (uri "https://pypi.org/pypi/demon/json") ;;; (before # #(2 2539978975 443) #f) ;;; (connect* #t) ;;; (done) Starting download of /tmp/guix-file.G5r627 From https://files.pythonhosted.org/packages/49/01/21337857631a97ab551bb2e3= b5691ed6b1b9586011aa6a5355b9694a37fa/demon-2.0.6.tar.gz... ;;; (uri "https://files.pythonhosted.org/packages/49/01/21337857631a97ab551= bb2e3b5691ed6b1b9586011aa6a5355b9694a37fa/demon-2.0.6.tar.gz") ;;; (before # #(2 2454407487 443) 10) ;;; (connect* #) ;;; (done) =E2=80=A6.6.tar.gz 7KiB 4.2MiB/s 00:00 =E2=96=95=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=8F 100.0% Starting download of /tmp/guix-file.4L0Phu From https://files.pythonhosted.org/packages/96/85/5f9146e3f8d7324d8741cd3b= ea9b99926d5ee75571b9610c661b1bbd06f5/demon-2.0.6-py3-none-any.whl... ;;; (uri "https://files.pythonhosted.org/packages/96/85/5f9146e3f8d7324d874= 1cd3bea9b99926d5ee75571b9610c661b1bbd06f5/demon-2.0.6-py3-none-any.whl") ;;; (before # #(2 2454407487 443) 10) ;;; (connect* #) ;;; (done) =E2=80=A63-none-any.whl 7KiB 5.5MiB/s 00:00 =E2=96=95=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=8F 100.0% (define-public python-demon (package (name "python-demon") (version "2.0.6") (source (origin (method url-fetch) (uri (pypi-uri "demon" version)) (sha256 (base32 "0nd370yjfb3jirmxd0wa03c75dl7jac4xfsq1rvp5483mxddirb0")))) (build-system python-build-system) (propagated-inputs (list python-networkx python-tqdm)) (home-page "https://github.com/GiulioRossetti/DEMON") (synopsis "Community Discovery algorithm") (description "Community Discovery algorithm") (license license:bsd-2))) --8<---------------cut here---------------end--------------->8--- Maybe, it is a regression from some recent updates of Guile? I do not know=E2=80=A6 Any idea? Cheers, simon