From unknown Mon Aug 11 18:19:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64598: Test fail: tests/store-roots.scm Resent-From: wolf Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 13 Jul 2023 15:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64598 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 64598@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16892621573320 (code B ref -1); Thu, 13 Jul 2023 15:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jul 2023 15:29:17 +0000 Received: from localhost ([127.0.0.1]:40610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJyFo-0000rT-MY for submit@debbugs.gnu.org; Thu, 13 Jul 2023 11:29:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:47120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJyFl-0000rK-DD for submit@debbugs.gnu.org; Thu, 13 Jul 2023 11:29:15 -0400 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 1qJyFi-0004lW-D9 for bug-guix@gnu.org; Thu, 13 Jul 2023 11:29:13 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qJyFg-0001A3-1t for bug-guix@gnu.org; Thu, 13 Jul 2023 11:29:10 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 943FD260D82; Thu, 13 Jul 2023 15:29:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1689262142; bh=frVnfX08aFVjHE1iOPZU5Vex98LXQ00tK6Kh760xZWs=; h=Date:From:To:Subject; b=dr4H1e65pdPaymNaSLBM3QUoBw91OOhksbfQ9WBY2FTTQO65yRO9maXP/ALG1HY2S UK5u5yUvt5eTFwh9qW/5w+AU+nSZsGu+MjCl/h5RnT/LjdcXrFWTDspi7X69GxHBDc 4dMjPrmskM7bJTJDWzKO5Q57HzpzQnSDlrvhvrbScZq8ZgS5WuJp8WcO/t6DBoWvMj 6BHiUMrTRAknP0rewyvKeqgpugtl5Kd8KpxJYSrpg9q1Mjn3kuALEKR5y9VNUSpUQs T1DvPiDt9G/0MLVp1yXcz1Zlr6nqUBe7hOhvale2KCsGL7sGaSsQ1JOl6IKfaOv8V5 Dj/A1svZMcDi4lQgLsrC/o+l06Sh4f/Dnr3zxYfV6zPqz9FuKmKt3zNlC30DFlB7r2 Cn53IVU8E14SMGZcB/tY5UWosqkgoaWcXCiUmELzpw5iqhaqFbRJWU4U3EtStcuZ78 h1ItlQsMQeMO8lPySeE7DdPn93yW5ItB544vAT75mEi74ApVmyA8J0Wm4EbfKxrBIg 55KbLaPhv+Y1hxz2Cwl1rs/TC3s4QJh5+CE84e98kGPGy0OmmsDTz07n5G2w7T+e8C w3wmjp47mp94gIpOpeY5UnEf+Tx/VLVkratcrirM0dlQlsvBoEDTm+X4ixNhNaRX9C Nx50MPzmGtlBonIv2A0Nr7SA= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 212EF25DABE for ; Thu, 13 Jul 2023 15:29:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1689262142; bh=frVnfX08aFVjHE1iOPZU5Vex98LXQ00tK6Kh760xZWs=; h=Date:From:To:Subject; b=dr4H1e65pdPaymNaSLBM3QUoBw91OOhksbfQ9WBY2FTTQO65yRO9maXP/ALG1HY2S UK5u5yUvt5eTFwh9qW/5w+AU+nSZsGu+MjCl/h5RnT/LjdcXrFWTDspi7X69GxHBDc 4dMjPrmskM7bJTJDWzKO5Q57HzpzQnSDlrvhvrbScZq8ZgS5WuJp8WcO/t6DBoWvMj 6BHiUMrTRAknP0rewyvKeqgpugtl5Kd8KpxJYSrpg9q1Mjn3kuALEKR5y9VNUSpUQs T1DvPiDt9G/0MLVp1yXcz1Zlr6nqUBe7hOhvale2KCsGL7sGaSsQ1JOl6IKfaOv8V5 Dj/A1svZMcDi4lQgLsrC/o+l06Sh4f/Dnr3zxYfV6zPqz9FuKmKt3zNlC30DFlB7r2 Cn53IVU8E14SMGZcB/tY5UWosqkgoaWcXCiUmELzpw5iqhaqFbRJWU4U3EtStcuZ78 h1ItlQsMQeMO8lPySeE7DdPn93yW5ItB544vAT75mEi74ApVmyA8J0Wm4EbfKxrBIg 55KbLaPhv+Y1hxz2Cwl1rs/TC3s4QJh5+CE84e98kGPGy0OmmsDTz07n5G2w7T+e8C w3wmjp47mp94gIpOpeY5UnEf+Tx/VLVkratcrirM0dlQlsvBoEDTm+X4ixNhNaRX9C Nx50MPzmGtlBonIv2A0Nr7SA= Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 6b351665 for ; Thu, 13 Jul 2023 15:29:01 +0000 (UTC) Date: Thu, 13 Jul 2023 17:29:01 +0200 From: wolf Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+5VpeNg7EzIesRPB" Content-Disposition: inline Received-SPF: none client-ip=37.205.8.62; envelope-from=ws@wolfsnet.cz; helo=wolfsden.cz X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.1 (--) 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.1 (---) --+5VpeNg7EzIesRPB Content-Type: multipart/mixed; boundary="fMXOkcdiJQBqcNFD" Content-Disposition: inline --fMXOkcdiJQBqcNFD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I am experiencing a test failure on a Guix build from the git in the tests/store-roots.scm test file. Excerpt (whole log file attached): test-name: gc-roots, initial location: /home/wolf/devel/guix/tests/store-roots.scm:33 source: + (test-equal + "gc-roots, initial" + (list (string-append %state-directory "/profiles")) + (begin + (delete-file-recursively + (string-append %state-directory "/profiles")) + (gc-roots))) expected-value: ("/home/wolf/devel/guix/test-tmp/var/15530/profiles") actual-value: #f actual-error: + (system-error + "lstat" + "~A: ~S" + ("No such file or directory" + "/home/wolf/devel/guix/test-tmp/var/15530/profiles") + (2)) result: FAIL Commit: 3b524cde7115a6e89a438c1fd230093e6f30442f Build was done inside guix shell -D guix --pure. W. --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --fMXOkcdiJQBqcNFD Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="store-roots.log" test-name: gc-roots, initial location: /home/wolf/devel/guix/tests/store-roots.scm:33 source: + (test-equal + "gc-roots, initial" + (list (string-append %state-directory "/profiles")) + (begin + (delete-file-recursively + (string-append %state-directory "/profiles")) + (gc-roots))) expected-value: ("/home/wolf/devel/guix/test-tmp/var/15530/profiles") actual-value: #f actual-error: + (system-error + "lstat" + "~A: ~S" + ("No such file or directory" + "/home/wolf/devel/guix/test-tmp/var/15530/profiles") + (2)) result: FAIL test-name: gc-roots, regular root location: /home/wolf/devel/guix/tests/store-roots.scm:44 source: + (test-assert + "gc-roots, regular root" + (let* ((item (add-text-to-store + %store + "something" + (random-text))) + (root (string-append + %gc-roots-directory + "/test-gc-root"))) + (symlink item root) + (let ((result (member root (gc-roots)))) + (delete-file root) + result))) actual-value: ("/home/wolf/devel/guix/test-tmp/var/15530/gcroots/test-gc-root") result: PASS test-name: gc-roots, indirect root location: /home/wolf/devel/guix/tests/store-roots.scm:53 source: + (test-assert + "gc-roots, indirect root" + (call-with-temporary-directory + (lambda (directory) + (let* ((item (add-text-to-store + %store + "something" + (random-text))) + (root (string-append directory "/gc-root"))) + (symlink item root) + (add-indirect-root %store root) + (let ((result (member root (gc-roots)))) + (delete-file root) + result))))) actual-value: ("/tmp/guix-directory.YyukEN/gc-root" "/home/wolf/devel/guix/test-tmp/var/15530/profiles") result: PASS random seed for tests: 1689185210 --fMXOkcdiJQBqcNFD-- --+5VpeNg7EzIesRPB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmSwGD0ACgkQL7/ufbZ/ wam65w//QCd8ao8EX30AbZgiGI7R5xP4hnJgtreIf+DQlQKDr0AlhTpOz73NM6Bj byBpdFBdwUkeVjHvmtoceFruVffNurkIOMQXwEXi05xtBlm8E9mejrBxMEdTHmJ0 Ie3N+TCCDDeRHX9E5ABrMJefCyU30B790f7RJKdm/SxAiQak+8Q3j+q/t1LDwD6K FeJMC34JB5G1J5epfS23HGsNymXlJZ0Vb9mkzVu2YgOZbSvp69k01z4c4uDGCx+g WIn9hwAxsvSjlDUdQOVB8CQXdrv566/J07ItZFeogcVRqOljtoj9q/Hhqlz6AFwV bd4kw15YlUk+b2l+gXeRS8xiqXYNGP33o7Y0a9Shfr/tiIVW02G8e/x00w/d1SfV m9XIHYe5um51stalu5Br1Mh4/abBVacdboAnuUB5c4Z+oeHhHG+MK6A7fVW/YZtL a/r+ZQRhW13yV6r5k3wfOKCPOCxyddNzstkUH+Y+Oa2ictvMxcMoDFxivAN9w7n/ Yv4+/SOFG9T4EKO9v4b1n0vy1JQXWwUYtAKBs0370MJi3O74FgpUDiZXuAfsk0wr RuYNQ9OPu6PE05lglCz9xBQcE2NRRUpMXkgYc4+j3NkBuWnCil6tCvIgPqwDyLoA IbPNtN6NXrBeEShXkMMN7pg6beyjR+jxlZzdcls8edOJc8LrOpE= =XTIm -----END PGP SIGNATURE----- --+5VpeNg7EzIesRPB-- From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 18 10:11:52 2023 Received: (at control) by debbugs.gnu.org; 18 Aug 2023 14:11:53 +0000 Received: from localhost ([127.0.0.1]:48473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX0Ce-00025V-O5 for submit@debbugs.gnu.org; Fri, 18 Aug 2023 10:11:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX0Cc-00025H-5Y for control@debbugs.gnu.org; Fri, 18 Aug 2023 10:11:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qX0CW-0006q0-8n for control@debbugs.gnu.org; Fri, 18 Aug 2023 10:11:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=ybzZ+tGsTgJxkAJWmJ0tWU39i8n2yhId4xzYGdDTQIQ=; b=mZwCfPANVT+NlY cd/7OmVM0/YMB0xUEATzb+PE6fEwjCxPat3QNb97ff5NF0OhXg3+Vuv6huC1ZOHUdV9zxPXcgaPfl Tsfkly/qbmnN2uao5KWEX1pFjkc34i1C6yCD/PqIls9nZHY0URNFFFhGz+n6Bh1dWuocGAcpyCFiu CGQU6OyXW+MNCeKQ8R2eGvO92CL/ik3wSkdTKBPUEqx9Gpv6EfFRdKJMvuZ4FdHW8ICoT97wiC2mW aqp5zOXdK/gTTna+yiNH3g7WGhNUONBfareBTkgLWtlP/nrEcaE5hd5nZAnrvMfcDtElgllnRrZ12 Opsmnn0nFUEMoXi4+Mjw==; Date: Fri, 18 Aug 2023 16:11:40 +0200 Message-Id: <87wmxsqw2r.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #64598 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) merge 64598 64760 quit