From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 18 10:23:17 2021 Received: (at submit) by debbugs.gnu.org; 18 Jun 2021 14:23:17 +0000 Received: from localhost ([127.0.0.1]:57536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luFOu-000067-PF for submit@debbugs.gnu.org; Fri, 18 Jun 2021 10:23:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:35108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luFOt-000060-L2 for submit@debbugs.gnu.org; Fri, 18 Jun 2021 10:23:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luFOt-0006du-DW for bug-guix@gnu.org; Fri, 18 Jun 2021 10:23:15 -0400 Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]:43668) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luFOq-00017q-MG for bug-guix@gnu.org; Fri, 18 Jun 2021 10:23:15 -0400 Received: from butterfly.local ([188.188.242.184]) by baptiste.telenet-ops.be with bizsmtp id JeP62500T3zRM2s01eP7EV; Fri, 18 Jun 2021 16:23:07 +0200 Message-ID: <8eb5d6bfda699cb40a632c8dafccd796746652a9.camel@telenet.be> Subject: --fallback doesn't do anything when 'connect*' fails From: Maxime Devos To: bug-guix@gnu.org Date: Fri, 18 Jun 2021 16:22:24 +0200 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-kOKux18j7B1K8KMabBPe" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1624026187; bh=FxJ6MUt6VhTUnx2GvM1yPLH8Pf1kTlzoXURfLAtLL/4=; h=Subject:From:To:Date; b=p15SgpWm8Y0jeoBtyAFQ6PGTY6C4KHiEU9DpjX2yGQKq7ezKNKQ/T8qJrohIn4pOR 5Jp4W2iPYvQbHjzRtsi/OAa9w+KJwAlfH9xhoyoL8rtIDWsBuk5IT/5GHIqhtGKlA2 p3xsEyecu8ypdTUD42seHMYqbk+GFbLW3kPOwWKUKGP3TNTJ/mYfBUEg9u8j1AGcB8 /aBH0Lhpzjf1QNvjcn5m+KmQSAV8CHM3xkB/FuFRfE1k5OI0+muKySDs8R00L+sWfj wqQn0XE5BNVZJkDE8KmB9qFf+nWreFse0//ndUTfvLJhE+s9ytby9W9A0J6KjqFEsc MA/tQbz9yzD0A== Received-SPF: pass client-ip=2a02:1800:120:4::f00:13; envelope-from=maximedevos@telenet.be; helo=baptiste.telenet-ops.be 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit 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: -2.3 (--) --=-kOKux18j7B1K8KMabBPe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable tags: + substituter Hi, Version: $ /run/current-system/profile/bin/guix-daemon --version guix-daemon (GNU Guix) 1.3.0-2.9f2b2c4 $ guix --version guix (GNU Guix) e3d67b71cb0ccd5ad5563ebaffe6adc6c96c0c7c Command: $ guix system -L . reconfigure [...].scm --fallback [...] substitute: lijst van substitutes van =E2=80=98[...].local:8080=E2=80=99 aa= n het bijwerken... 100.0% substitute: lijst van substitutes van =E2=80=98https://ci.guix.gnu.org=E2= =80=99 aan het bijwerken... 0.0%guix substitute: warning: ci.guix.gnu.org= : connection failed: Verbinding is verlopen substitute:=20 substitute: lijst van substitutes van =E2=80=98[...].gr=E2=80=99 aan het bi= jwerken... 0.0%guix substitute: warning: guix.tobias.gr: connection faile= d: Netwerk is onbereikbaar substitute:=20 16,4 MB zal binnengehaald worden substitute: lijst van substitutes van =E2=80=98[...]:8080=E2=80=99 aan het = bijwerken... 0.0% [8 repetitions of the line above] guix substitute: warning: [...].local: host not found: Naam of dienst is ni= et bekend guix substitute: warning: tijdens het binnenhalen van https://ci.guix.gnu.o= rg/nar/lzip/r8a9kzhhx89rmmkz66i3324acgliqdwa-gdm-3.34.1: de server is een b= eetje traag guix substitute: warning: probeer =E2=80=98--no-substitutes=E2=80=99 als he= t probleem hardnekkig is guix substitute: error: connect*: Verbinding is verlopen vervanging van /gnu/store/r8a9kzhhx89rmmkz66i3324acgliqdwa-gdm-3.34.1 mislu= kt guix system: error: beschadigde invoer tijdens het terugplaatsen van het ar= chief uit # What I would expect: As I specified the --fallback option, I would expect guix to start building from source, as the substitution failed. --=-kOKux18j7B1K8KMabBPe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYMysIBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7skuAQC/UIlz5mY7z/Ag4ZEfWGtmUyVw dNLipP8GO79rH9r1swD8CNjlpjIfPTPGLVCafhkkHqgXSMemhoQUmZ58jn52qwk= =Ltjd -----END PGP SIGNATURE----- --=-kOKux18j7B1K8KMabBPe-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 18 11:36:45 2021 Received: (at 49089) by debbugs.gnu.org; 18 Jun 2021 15:36:45 +0000 Received: from localhost ([127.0.0.1]:57662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luGY0-0001z7-UF for submit@debbugs.gnu.org; Fri, 18 Jun 2021 11:36:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luGY0-0001yw-02 for 49089@debbugs.gnu.org; Fri, 18 Jun 2021 11:36:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53794) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luGXu-0005aW-OG; Fri, 18 Jun 2021 11:36:38 -0400 Received: from [2a01:e0a:19b:d9a0:f2f7:a404:c3d3:f8b4] (port=39488 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luGXt-0007Rt-Ss; Fri, 18 Jun 2021 11:36:38 -0400 From: Mathieu Othacehe To: Maxime Devos Subject: Re: bug#49089: --fallback doesn't do anything when 'connect*' fails References: <8eb5d6bfda699cb40a632c8dafccd796746652a9.camel@telenet.be> Date: Fri, 18 Jun 2021 17:36:35 +0200 In-Reply-To: <8eb5d6bfda699cb40a632c8dafccd796746652a9.camel@telenet.be> (Maxime Devos's message of "Fri, 18 Jun 2021 16:22:24 +0200") Message-ID: <87tulv422k.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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49089 Cc: 49089@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: -3.3 (---) Hello Maxime, > guix substitute: warning: [...].local: host not found: Naam of dienst is = niet bekend > guix substitute: warning: tijdens het binnenhalen van https://ci.guix.gnu= .org/nar/lzip/r8a9kzhhx89rmmkz66i3324acgliqdwa-gdm-3.34.1: de server is een= beetje traag > guix substitute: warning: probeer =E2=80=98--no-substitutes=E2=80=99 als = het probleem hardnekkig is > guix substitute: error: connect*: Verbinding is verlopen There are actually two bugs withing a single one here. The first one is that you could not connect to the berlin publish server in less than 5 seconds (the timeout duration). I have already observed such problems on the build farm and reported it here: https://issues.guix.gnu.org/48468. It has been mitigated by implementing keep-alive support[1]. However, I suppose that the underlying issue is that guix-publish is in some cases over-flood and fails to accept new connections. > As I specified the --fallback option, I would expect guix to start > building from source, as the substitution failed. The second issue is that as you noticed, the fallback option doesn't have any effect. Thanks, Mathieu [1]: https://issues.guix.gnu.org/48556 From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 01 14:31:38 2021 Received: (at 49089) by debbugs.gnu.org; 1 Jul 2021 18:31:38 +0000 Received: from localhost ([127.0.0.1]:33685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lz1TO-000261-Ft for submit@debbugs.gnu.org; Thu, 01 Jul 2021 14:31:38 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:37662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lz1TM-00025r-U0 for 49089@debbugs.gnu.org; Thu, 01 Jul 2021 14:31:37 -0400 Received: from butterfly.local ([188.189.185.230]) by andre.telenet-ops.be with bizsmtp id PuXa250034ygz0C01uXbVt; Thu, 01 Jul 2021 20:31:35 +0200 Message-ID: Subject: Re: bug#49089: --fallback doesn't do anything when 'connect*' fails From: Maxime Devos To: Mathieu Othacehe Date: Thu, 01 Jul 2021 20:31:27 +0200 In-Reply-To: <87tulv422k.fsf@gnu.org> References: <8eb5d6bfda699cb40a632c8dafccd796746652a9.camel@telenet.be> <87tulv422k.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-gv1hmbUDE7lZXRIB7GxM" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1625164295; bh=wur+KjOEyknMmZFGE2yVUaUDdUzMcS7Dk4Q0nSGBbJs=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=VacTPNlNBFZnCZRwgVk7X+WIgE9GA4fzLez21Pgti5S3EoArxW/nkjeICR0/zB4R4 end8EMkfcWMjgst1f/fr1OhDVXRVQl3UvjOmGB2cvj+GJEFSOGsIQHHmO9oPdb1pGi M1ConYZQ51WcNV2vRIhZwkzjqcc1oRRGBG3XJ9fpqq5upz950jJm/jJaasQTa8nnDc dY7x6v+SAvi1RChnsGNj/CwcZ2KrjTco8lSrxRMbzBRJUMQlD8MFQIRHmlZxWTVKVf Exe12WqZa+Yhof2MmrseySCOCTDT4tBzdOx4LvzJfag8ugiaz/O3dvK/2heJqI09Sd Mqy0LC9TP+mGg== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 49089 Cc: 49089@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.7 (-) --=-gv1hmbUDE7lZXRIB7GxM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mathieu Othacehe schreef op vr 18-06-2021 om 17:36 [+0200]: > Hello Maxime, >=20 > > guix substitute: warning: [...].local: host not found: Naam of dienst i= s niet bekend > > guix substitute: warning: tijdens het binnenhalen van https://ci.guix.g= nu.org/nar/lzip/r8a9kzhhx89rmmkz66i3324acgliqdwa-gdm-3.34.1: de server is e= en beetje traag > > guix substitute: warning: probeer =E2=80=98--no-substitutes=E2=80=99 al= s het probleem hardnekkig is > > guix substitute: error: connect*: Verbinding is verlopen >=20 > There are actually two bugs withing a single one here. The first one is > that you could not connect to the berlin publish server in less than 5 > seconds (the timeout duration). FWIW, the network connection was very flaky then. Taking more than 5 seconds to connect seems plausible here. Greetings, Maxime. --=-gv1hmbUDE7lZXRIB7GxM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYN4J/xccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7j7aAQCif7DXmsPKBkOJgcI1yonvUF+n 5FN3KL7xytnc4pfoAwD9GwaLul9ljGmuNzbUpHjLwMC4pUZ+oDaL9x87KCbWtwE= =lBBN -----END PGP SIGNATURE----- --=-gv1hmbUDE7lZXRIB7GxM--