From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KN7EKu7Yql/dPwAA0tVLHw (envelope-from ) for ; Tue, 10 Nov 2020 18:16:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KJ69Ju7Yql9VAQAA1q6Kng (envelope-from ) for ; Tue, 10 Nov 2020 18:16:14 +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 4F4E794006E for ; Tue, 10 Nov 2020 18:16:14 +0000 (UTC) Received: from localhost ([::1]:58264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcYBg-0005No-N0 for larch@yhetil.org; Tue, 10 Nov 2020 13:16:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcYAY-0005LB-CU for bug-guix@gnu.org; Tue, 10 Nov 2020 13:15:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55537) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcYAX-0005hb-Vl for bug-guix@gnu.org; Tue, 10 Nov 2020 13:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcYAX-0001dM-QA for bug-guix@gnu.org; Tue, 10 Nov 2020 13:15:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44491: Support GUIX_DISABLE_NETWORK_TESTS environment variable Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 10 Nov 2020 18:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44491 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 44491-submit@debbugs.gnu.org id=B44491.16050320586209 (code B ref 44491); Tue, 10 Nov 2020 18:15:01 +0000 Received: (at 44491) by debbugs.gnu.org; 10 Nov 2020 18:14:18 +0000 Received: from localhost ([127.0.0.1]:38850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcY9q-0001c5-Ja for submit@debbugs.gnu.org; Tue, 10 Nov 2020 13:14:18 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:40434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcY9n-0001br-5M for 44491@debbugs.gnu.org; Tue, 10 Nov 2020 13:14:17 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 4BB391AA41; Tue, 10 Nov 2020 10:14:09 -0800 (PST) From: Vagrant Cascadian In-Reply-To: <87y2jbu4gx.fsf@gnu.org> References: <87k0uy6um8.fsf@yucca> <87y2jbu4gx.fsf@gnu.org> Date: Tue, 10 Nov 2020 10:13:42 -0800 Message-ID: <87k0utt6zt.fsf@yucca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44491@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: RbgmmdylKd3D --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2020-11-08, Ludovic Court=C3=A8s wrote: > Vagrant Cascadian skribis: > >> If this could be considered for the upcoming 1.2 release, that would be >> appreciated, though I can also carry the patches in Debian... > > Yay! It should be doable, let=E2=80=99s see. It seems like a simpler workaround is to pass RES_OPTIONS=3Dattempts:0, which should disable name resolution, and thus the network checks will fail. With the RES_OPTIONS workaround, the changes to guix/tests.scm network-reachable are no longer needed ... i think. :) Might still be worth refactoring some of *.sh tests to use common functions, since the code is basically copied and pasted in several different places. I suspect there are some additional tests that should check for network, but that is probably a separate bug once they have been identified. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX6rYVgAKCRDcUY/If5cW quycAQD6UuKDgKtm4wBsFU63niFLvJI3P2VBiJFToVyCLY5DIQD/azB20tPAVsPc +1a6Jou0jZ4hfsS5qvdbC47uiqhmZgs= =m3YS -----END PGP SIGNATURE----- --=-=-=--