From unknown Fri Sep 05 08:20:20 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#76646] [PATCH Cuirass] tests: store: Fix non-reproducible test. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Feb 2025 15:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76646 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76646@debbugs.gnu.org Cc: ludovic.courtes@inria.fr, Romain GARBAGE X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17407561925662 (code B ref -1); Fri, 28 Feb 2025 15:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Feb 2025 15:23:12 +0000 Received: from localhost ([127.0.0.1]:50826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1to2Cl-0001TE-Bi for submit@debbugs.gnu.org; Fri, 28 Feb 2025 10:23:11 -0500 Received: from lists.gnu.org ([2001:470:142::17]:49004) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1to2CW-0001Qt-Ca for submit@debbugs.gnu.org; Fri, 28 Feb 2025 10:22:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1to2CR-00062u-2R for guix-patches@gnu.org; Fri, 28 Feb 2025 10:22:51 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1to2CO-0001bm-2V for guix-patches@gnu.org; Fri, 28 Feb 2025 10:22:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=9ljYWflqxjxsuaucnbqVFCEA6ICh6F/AZXI6PILMBrE=; b=S8XcLLpZ+OQu6wNfFrREQbLQsKO7D23PkncddVHVOMF7x/0v774fRBGN xnEXthbk/L9FxmatUx0HMyVwa31wdPewU1osFpCT9oELNg4V6k8fsGnjA yg7pD1GKE4/kBPuevZxqqweUpp9nm5W30KXKFia9ZmvHHkld1x45lnaXD g=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=romain.garbage@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.13,322,1732575600"; d="scan'208";a="110346775" Received: from 91-160-179-8.subs.proxad.net (HELO localhost.localdomain) ([91.160.179.8]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2025 16:22:43 +0100 From: Romain GARBAGE Date: Fri, 28 Feb 2025 16:22:29 +0100 Message-ID: <20250228152229.32087-1-romain.garbage@inria.fr> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=192.134.164.104; envelope-from=romain.garbage@inria.fr; helo=mail3-relais-sop.national.inria.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) 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 (-) * tests/store.scm ("build-derivations&, non-fiber"): Fix non-reproducible test. --- tests/store.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/store.scm b/tests/store.scm index f959338..ea1c242 100644 --- a/tests/store.scm +++ b/tests/store.scm @@ -17,6 +17,8 @@ ;;; along with Cuirass. If not, see . (define-module (tests store) + #:autoload (guix derivations) (build-derivations + derivation-path->output-paths) #:use-module (guix store) #:use-module (guix gexp) #:use-module ((gnu packages bootstrap) #:select (%bootstrap-guile)) @@ -74,6 +76,10 @@ '(build-succeeded build-started) (with-store store (set-build-options store #:print-build-trace #t) + ;; This makes sure that the dependencies needed to build drv below are + ;; already present: this test fails when they are missing, thus depending + ;; on the state of the underlying store, which is not reproducible. + (build-derivations store (list (trivial-derivation store))) (let* ((drv (trivial-derivation store)) (port finish (build-derivations& store (list drv))) (events (process-build-log port base-commit: 520b2fdbd96e953fc2d4b56e78e52a81fc11e2b7 -- 2.48.1 From unknown Fri Sep 05 08:20:20 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Romain GARBAGE Subject: bug#76646: closed (Re: bug#76646: [PATCH Cuirass] tests: store: Fix non-reproducible test.) Message-ID: References: <87v7sgopc4.fsf@gnu.org> <20250228152229.32087-1-romain.garbage@inria.fr> X-Gnu-PR-Message: they-closed 76646 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 76646@debbugs.gnu.org Date: Mon, 10 Mar 2025 15:53:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1741621981-30722-1" This is a multi-part message in MIME format... ------------=_1741621981-30722-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #76646: [PATCH Cuirass] tests: store: Fix non-reproducible test. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 76646@debbugs.gnu.org. --=20 76646: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76646 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1741621981-30722-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 76646-done) by debbugs.gnu.org; 10 Mar 2025 15:52:39 +0000 Received: from localhost ([127.0.0.1]:39392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1trfQl-0007ys-GH for submit@debbugs.gnu.org; Mon, 10 Mar 2025 11:52:39 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:49248) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1trfQj-0007yd-7M for 76646-done@debbugs.gnu.org; Mon, 10 Mar 2025 11:52:38 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 2943A359; Mon, 10 Mar 2025 16:52:30 +0100 (CET) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id g9FwW8aWzGPM; Mon, 10 Mar 2025 16:52:29 +0100 (CET) Received: from ribbon (unknown [193.50.110.159]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3CA8B1C2; Mon, 10 Mar 2025 16:52:28 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Romain GARBAGE Subject: Re: bug#76646: [PATCH Cuirass] tests: store: Fix non-reproducible test. In-Reply-To: <20250228152229.32087-1-romain.garbage@inria.fr> (Romain GARBAGE's message of "Fri, 28 Feb 2025 16:22:29 +0100") References: <20250228152229.32087-1-romain.garbage@inria.fr> Date: Mon, 10 Mar 2025 16:52:27 +0100 Message-ID: <87v7sgopc4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Server: hera X-Rspamd-Queue-Id: 2943A359 X-Spamd-Result: default: False [4.54 / 15.00]; SPAM_FLAG(5.00)[]; BAYES_HAM(-2.99)[99.97%]; NEURAL_SPAM(2.63)[0.878]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spamd-Bar: ++++ X-Rspamd-Action: no action X-Spam-Level: **** X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 76646-done Cc: 76646-done@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: -0.0 (/) Romain GARBAGE skribis: > * tests/store.scm ("build-derivations&, non-fiber"): Fix non-reproducible test. Applied, thanks! ------------=_1741621981-30722-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Feb 2025 15:23:12 +0000 Received: from localhost ([127.0.0.1]:50826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1to2Cl-0001TE-Bi for submit@debbugs.gnu.org; Fri, 28 Feb 2025 10:23:11 -0500 Received: from lists.gnu.org ([2001:470:142::17]:49004) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1to2CW-0001Qt-Ca for submit@debbugs.gnu.org; Fri, 28 Feb 2025 10:22:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1to2CR-00062u-2R for guix-patches@gnu.org; Fri, 28 Feb 2025 10:22:51 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1to2CO-0001bm-2V for guix-patches@gnu.org; Fri, 28 Feb 2025 10:22:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=9ljYWflqxjxsuaucnbqVFCEA6ICh6F/AZXI6PILMBrE=; b=S8XcLLpZ+OQu6wNfFrREQbLQsKO7D23PkncddVHVOMF7x/0v774fRBGN xnEXthbk/L9FxmatUx0HMyVwa31wdPewU1osFpCT9oELNg4V6k8fsGnjA yg7pD1GKE4/kBPuevZxqqweUpp9nm5W30KXKFia9ZmvHHkld1x45lnaXD g=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=romain.garbage@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.13,322,1732575600"; d="scan'208";a="110346775" Received: from 91-160-179-8.subs.proxad.net (HELO localhost.localdomain) ([91.160.179.8]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2025 16:22:43 +0100 From: Romain GARBAGE To: guix-patches@gnu.org Subject: [PATCH Cuirass] tests: store: Fix non-reproducible test. Date: Fri, 28 Feb 2025 16:22:29 +0100 Message-ID: <20250228152229.32087-1-romain.garbage@inria.fr> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=192.134.164.104; envelope-from=romain.garbage@inria.fr; helo=mail3-relais-sop.national.inria.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit Cc: ludovic.courtes@inria.fr, Romain GARBAGE 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 (-) * tests/store.scm ("build-derivations&, non-fiber"): Fix non-reproducible test. --- tests/store.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/store.scm b/tests/store.scm index f959338..ea1c242 100644 --- a/tests/store.scm +++ b/tests/store.scm @@ -17,6 +17,8 @@ ;;; along with Cuirass. If not, see . (define-module (tests store) + #:autoload (guix derivations) (build-derivations + derivation-path->output-paths) #:use-module (guix store) #:use-module (guix gexp) #:use-module ((gnu packages bootstrap) #:select (%bootstrap-guile)) @@ -74,6 +76,10 @@ '(build-succeeded build-started) (with-store store (set-build-options store #:print-build-trace #t) + ;; This makes sure that the dependencies needed to build drv below are + ;; already present: this test fails when they are missing, thus depending + ;; on the state of the underlying store, which is not reproducible. + (build-derivations store (list (trivial-derivation store))) (let* ((drv (trivial-derivation store)) (port finish (build-derivations& store (list drv))) (events (process-build-log port base-commit: 520b2fdbd96e953fc2d4b56e78e52a81fc11e2b7 -- 2.48.1 ------------=_1741621981-30722-1--