From unknown Fri Jun 20 07:10:29 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#40482 <40482@debbugs.gnu.org> To: bug#40482 <40482@debbugs.gnu.org> Subject: Status: Test failure in tests/packages.scm after merging master into core-updates Reply-To: bug#40482 <40482@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:10:29 +0000 retitle 40482 Test failure in tests/packages.scm after merging master into = core-updates reassign 40482 guix submitter 40482 Marius Bakke severity 40482 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 07 07:31:33 2020 Received: (at submit) by debbugs.gnu.org; 7 Apr 2020 11:31:33 +0000 Received: from localhost ([127.0.0.1]:49647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLmS5-0001Rf-5Q for submit@debbugs.gnu.org; Tue, 07 Apr 2020 07:31:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:60703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLmS3-0001Pz-Ho for submit@debbugs.gnu.org; Tue, 07 Apr 2020 07:31:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52471) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLmS1-0003t9-3j for bug-guix@gnu.org; Tue, 07 Apr 2020 07:31:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: **** X-Spam-Status: No, score=4.3 required=5.0 tests=BAYES_40,FREEMAIL_FROM, HEXHASH_WORD,RCVD_IN_DNSWL_LOW,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLmRz-0004X4-Vt for bug-guix@gnu.org; Tue, 07 Apr 2020 07:31:29 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:56303) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLmRz-0004Wc-Mj for bug-guix@gnu.org; Tue, 07 Apr 2020 07:31:27 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3CF785C026A for ; Tue, 7 Apr 2020 07:31:27 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 07 Apr 2020 07:31:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:mime-version:content-type; s= fm2; bh=et6faFwIjt+P7a5z7kQlZuNG29ln0+jSF7+oQ3QeTJ8=; b=rhhnuPdt 2/8ahtlRL+aIHIiSTkG7oTsMryQOPUPNMVYqiCNRxKDRFUyPM8MhvHKJi3f+5WIh OM67kiqsV9EyQz3HTvm1TaB+7k7/xwjJ9dBm8qjKJNa8I8cHa7tu00FB7SolJIgX u+jmqurKedyy/ECU7VtzXnnanWD3BhJD4dh+4wiyGeS/4QDZOCBuf7TxAwYbu0eP roWtRllCSPkn7ksesx/FnY2aF8Nex3J4I2rDtaew68EtA11f57eW1sYipe3RqH2x s/x2JLnf5AEekYldHS0f974s7uvoaslgWzP19fYplCN2C8QZ/EYvPvpX5xGD2b5c 95DB+7K38XtVzA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=et6faFwIjt+P7a5z7kQlZuNG29ln0 +jSF7+oQ3QeTJ8=; b=kFljkgZmxqmAJPafVHt80lCgKvKBgySn/6Q0L8Wb3v3l0 8K7lHI0Bbxltl2arhZG+hRjJ5CFMj4D3Pui5nC0Mvy4k+Za1juaDtm4R8ucA/OA1 brNZIPzAg9h/9GuCBNTHAvgDCA1SMmQhJirHDOKmN9zEhrWwf9qCVYnCkzwCg7Mj oNmDURo1SLDbtJLEMl3R5TzvtCWhsV5XXyZAqaUGjLSTaNGOtK11UgutU1J9MTGK VrlyPT1VXV1nQtFZeDQYoewAiV0P7rEXPtY8PHnjFn9Fjo5xukrPc0AjHmD4ucte YOOAK8oSRvfsjnL/8QG9SrxSuY+1edlokj40dCvFA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudehgdegvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufgffffkgggtsehgtderredtre dtnecuhfhrohhmpeforghrihhushcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgr ihhlrdgtohhmqeenucfkphepkeegrddvtddvrdeikedrjeehnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgvsehfrghsthhmrghi lhdrtghomh X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id C72BA306D0EF for ; Tue, 7 Apr 2020 07:31:26 -0400 (EDT) From: Marius Bakke To: bug-guix@gnu.org Subject: Test failure in tests/packages.scm after merging master into core-updates User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Tue, 07 Apr 2020 13:31:24 +0200 Message-ID: <87ftdfo7lf.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.27 X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On the current "core-updates" branch (commit a533c5a1835cbeafaf595c4474e2ce6adde7de8d), one test starts to fail if commits 190ddfe21e3d87719733d12fb9b5eb176125a49f and a187cc562890895ad41dfad00eb1d5c4 [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: fastmail.com] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mbakke[at]fastmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 2.0 SPOOFED_FREEMAIL No description available. 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: -1.0 (-) --=-=-= Content-Type: text/plain On the current "core-updates" branch (commit a533c5a1835cbeafaf595c4474e2ce6adde7de8d), one test starts to fail if commits 190ddfe21e3d87719733d12fb9b5eb176125a49f and a187cc562890895ad41dfad00eb1d5c4a4b00936 are applied: --8<---------------cut here---------------start------------->8--- test-name: package-transitive-supported-systems, implicit inputs location: tests/packages.scm:362 source: + (test-equal + "package-transitive-supported-systems, implicit inputs" + %supported-systems + (let ((p (dummy-package + "foo" + (build-system gnu-build-system) + (supported-systems + `("does-not-exist" "foobar" ,@%supported-systems))))) + (parameterize + ((%current-system "armhf-linux")) + (package-transitive-supported-systems p)))) expected-value: ("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux" "mips64el-linux" "i586-gnu") actual-value: ("x86_64-linux" "i686-linux") result: FAIL --8<---------------cut here---------------end--------------->8--- After some trial and error I found that simply removing the test added by commit a187cc562890895ad41dfad00eb1d5c4a4b00936 will make the above test pass! Moving the test further down the file (after the one above) will _also_ succeed. Apparently there is some side effect caused by running the new test that leaks into the test mentioned above. For completeness, here is the new test that makes the above fail. --8<---------------cut here---------------start------------->8--- test-name: transaction-upgrade-entry, grafts location: tests/packages.scm:151 source: + (test-assert + "transaction-upgrade-entry, grafts" + (with-build-handler + (const 'failed!) + (parameterize + ((%graft? #t)) + (let* ((old (dummy-package "foo" (version "1"))) + (bar (dummy-package + "bar" + (version "0") + (replacement old))) + (new (dummy-package + "foo" + (version "1") + (inputs `(("bar" ,bar))))) + (tx (mock ((gnu packages) + find-best-packages-by-name + (const (list new))) + (transaction-upgrade-entry + %store + (manifest-entry + (inherit (package->manifest-entry old)) + (item (string-append + (%store-prefix) + "/" + (make-string 32 #\e) + "-foo-1"))) + (manifest-transaction))))) + (and (match (manifest-transaction-install tx) + ((($ "foo" "1" "out" item)) + (eq? item new))) + (null? (manifest-transaction-remove tx))))))) actual-value: #t result: PASS --8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6MZIwACgkQoqBt8qM6 VPppswgAkO0w+VlKLDhsNDuGoGvhJyxLXj3uNiu+Aa/MPmUZ4JVfn7KR6A6GE78k IqRl6iI4bqEPq7R/2sKAm7hEiGvVW29IuqqJrO6u0hTeRU4tmjnTRl132HoXw6jr nRXVyFwHLxDOrmME2f8IaPOc0Lne0UWDJR/bYs9E4gobr6s5RMyKBi9R+ECULQvK kGpnbOSgBHm9/2l+zCX6DUS2yn1+nJcH51rk4hhF9S8gz0mnDmQhDErkl5AB8oeM 2qAdUy/4wtmjgpggzv1ACe4rmaDtOxFTr95gNzL0mkerb16OWutu1ymee3VQyKjr Np1BZse+9p3xpq7DPjyDcV2CtytFLw== =P/+/ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 10 08:35:20 2020 Received: (at control) by debbugs.gnu.org; 10 Apr 2020 12:35:21 +0000 Received: from localhost ([127.0.0.1]:54862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMssS-0003EP-OC for submit@debbugs.gnu.org; Fri, 10 Apr 2020 08:35:20 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:53221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMssR-0003ED-B1 for control@debbugs.gnu.org; Fri, 10 Apr 2020 08:35:19 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 535C35C0253 for ; Fri, 10 Apr 2020 08:35:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 10 Apr 2020 08:35:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:mime-version:content-type; s= fm2; bh=rciHetmEpfsrFGuRtzCSBXuDO9ZlG4wxzLsbS6jfQtM=; b=gvzrOx5/ lNlLesqMOI4I2h0o95Mbg0JWN2Ay7o6kBDcwjFHeERCO1h0lHXogpD4r/Gsa1tPG HRCdod1qY+CMMIMTtpjzQtbMlrd7edceYvIXbis7ANGERhfjrgrhyoF9/wfOpcQX bez09zIgFOwaisNTU7h8A4pYk2qvFJmyK16y6TY3KIJIrn3quQcLYEJPKsYoctcL e3FZAs0uk1MvhmBgFAAJ7OjLQVSRekoRbnGcWaVyAa4xb80UQSGPAXSRqhRA2WlE cNnVUInCYzUFK7z1GKR2FFV1s62VcpbJa5nDGr2vK28mw8itJKacwkhmudvh8P2y XryQHBB7ZgmyXg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=rciHetmEpfsrFGuRtzCSBXuDO9ZlG 4wxzLsbS6jfQtM=; b=HQ/C2We7RtMb7wbK8ucSlqy4Gm475hzorOFGASgIrHIXw BgqrVM2h/PoZBe4n4O6ZWGmwGYhC+a2nnWa7Gku/PlpclYnI2/WEgilYGu6NiWAP mLtNFs4JeIxO7n+y7MrSnih291ubrls9iSDU59O5sSy/tX/6UvJVl5rEmJIhMpBX bLQ9wnXqk1a0vAyjI7TaIUGdkfWvgc36P3LfyeUbukcZyPOd1jF7+u0oiGj2yLzu 5NntPyq2UP5AylTNNjf8y7Tu+1uzB6PNqvZyCVfPaLDGvCJBx32/CujsIw3eBzxk nNfnlM3OJaBAmyaR+OY5C76RNF76J08nuIf7V+PMQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrvddvgdehhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecugfhmphhthicushhusghjvggtthculddutddmnecujf gurhephffvufffkfggtgesthdtredttddttdenucfhrhhomhepofgrrhhiuhhsuceurghk khgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecukfhppeekgedrvddtvd drieekrdejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id C85FC3280065 for ; Fri, 10 Apr 2020 08:35:12 -0400 (EDT) From: Marius Bakke To: control@debbugs.gnu.org Subject: Date: Fri, 10 Apr 2020 14:35:11 +0200 Message-ID: <878sj3jz7k.fsf@devup.no> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 40535 40482 thanks Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: messagingengine.com] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.29 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mbakke[at]fastmail.com) 2.0 BLANK_SUBJECT Subject is present but empty 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: 0.3 (/) merge 40535 40482 thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 10 18:36:14 2020 Received: (at 40482-done) by debbugs.gnu.org; 10 Apr 2020 22:36:14 +0000 Received: from localhost ([127.0.0.1]:56062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jN2Fy-00054b-CA for submit@debbugs.gnu.org; Fri, 10 Apr 2020 18:36:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35249) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jN2Fw-00054O-Bh for 40482-done@debbugs.gnu.org; Fri, 10 Apr 2020 18:36:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jN2Fr-0004Af-6r; Fri, 10 Apr 2020 18:36:07 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=38984 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jN2Fm-0000Ba-VU; Fri, 10 Apr 2020 18:36:06 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Marius Bakke Subject: Re: bug#40482: Test failure in tests/packages.scm after merging master into core-updates References: <87ftdfo7lf.fsf@devup.no> Date: Sat, 11 Apr 2020 00:36:00 +0200 In-Reply-To: <87ftdfo7lf.fsf@devup.no> (Marius Bakke's message of "Tue, 07 Apr 2020 13:31:24 +0200") Message-ID: <87imi7ufxr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40482-done Cc: 40482-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: -1.7 (-) Hello, Marius Bakke skribis: > On the current "core-updates" branch (commit > a533c5a1835cbeafaf595c4474e2ce6adde7de8d), one test starts to fail if > commits 190ddfe21e3d87719733d12fb9b5eb176125a49f and > a187cc562890895ad41dfad00eb1d5c4a4b00936 are applied: > > test-name: package-transitive-supported-systems, implicit inputs > location: tests/packages.scm:362 > source: > + (test-equal > + "package-transitive-supported-systems, implicit inputs" > + %supported-systems > + (let ((p (dummy-package > + "foo" > + (build-system gnu-build-system) > + (supported-systems > + `("does-not-exist" "foobar" ,@%supported-systems))))) > + (parameterize > + ((%current-system "armhf-linux")) > + (package-transitive-supported-systems p)))) > expected-value: ("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux= " "mips64el-linux" "i586-gnu") > actual-value: ("x86_64-linux" "i686-linux") > result: FAIL > > > After some trial and error I found that simply removing the test added > by commit a187cc562890895ad41dfad00eb1d5c4a4b00936 will make the above > test pass! This is fixed by e85d4cecbe253e59a8a2a42b6ce427d96ff10534. This has to do with memoization of things that are actually system-dependent. This is why you=E2=80=99d see this side effect: in one c= ase, the first thing memoized would be the armhf graph, in the other case it would be the x86_64 one. Concretely, guix build coreutils -s x86_64-linux -s armhf-linux would return the right derivation for x86_64 and a bogus one for armhf (one that depends on Mes, Gash, etc.). Thanks, Ludo=E2=80=99. From unknown Fri Jun 20 07:10:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 09 May 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator