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 AC9SM81KpV9aLwAA0tVLHw (envelope-from ) for ; Fri, 06 Nov 2020 13:08:29 +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 cDgZL81KpV+kRwAAbx9fmQ (envelope-from ) for ; Fri, 06 Nov 2020 13:08:29 +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 192C39402A2 for ; Fri, 6 Nov 2020 13:08:29 +0000 (UTC) Received: from localhost ([::1]:48614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kb1Tf-0004yR-Sh for larch@yhetil.org; Fri, 06 Nov 2020 08:08:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kb1Ss-0004Gx-Ad for guix-devel@gnu.org; Fri, 06 Nov 2020 08:07:38 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35396) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kb1Ss-0001jv-1z for guix-devel@gnu.org; Fri, 06 Nov 2020 08:07:38 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=58266 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kb1Sr-0007HQ-ID for guix-devel@gnu.org; Fri, 06 Nov 2020 08:07:37 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Subject: Flagging gexps that import (guix config) & co. X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 Brumaire an 229 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 06 Nov 2020 14:07:36 +0100 Message-ID: <871rh6zl9j.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.51 X-TUID: ZGcLS4rI61ER Hello Guix! Yesterday I noticed that some of our system tests would be non-deterministic in the sense that their .drv file name would differ from machine to machine. The .drv computed at ci.guix.gnu.org for a given test was different from that I had on my machine. This is not the first time we see it: it was due to services or tests importing the host=E2=80=99s (guix config) module or (ice-9 =E2=80=A6) modu= les on the build side. Since those modules can vary between users, importing them leads to discrepancies like that. (guix gexp) now emits a warning when these modules are imported: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3Dca465a9c8454289b7= aded22719cd5d919e441780 I thought it shouldn=E2=80=99t be an error because it=E2=80=99s a matter of= policy. It looks like this: gnu/services/monitoring.scm:398:4: warning: importing module (ice-9 rdeli= m) from the host where the line and column indicate the start of the gexp importing the module(s). Having done that, I fixed a few services and tests. Now one can again run: ./pre-inst-env guix weather -m etc/system-tests.scm --display-missing to quickly see what fraction of the system tests is successful on ci.guix.gnu.org. Ludo=E2=80=99.