From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aCvtKZU2R2D6bwAA0tVLHw (envelope-from ) for ; Tue, 09 Mar 2021 08:49:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2ECyJZU2R2BMJgAAbx9fmQ (envelope-from ) for ; Tue, 09 Mar 2021 08:49:25 +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 B730E27FD7 for ; Tue, 9 Mar 2021 09:49:24 +0100 (CET) Received: from localhost ([::1]:49510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJY3O-0001sI-QR for larch@yhetil.org; Tue, 09 Mar 2021 03:49:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJY35-0001qn-PD for bug-guix@gnu.org; Tue, 09 Mar 2021 03:49:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34037) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJY35-0005jy-E9 for bug-guix@gnu.org; Tue, 09 Mar 2021 03:49:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJY34-0001fL-Fg; Tue, 09 Mar 2021 03:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#47018: core-updates: make check fails when guix-daemon is running Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, bug-guix@gnu.org Resent-Date: Tue, 09 Mar 2021 08:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47018 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47018@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun Received: via spool by submit@debbugs.gnu.org id=B.16152797056354 (code B ref -1); Tue, 09 Mar 2021 08:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Mar 2021 08:48:25 +0000 Received: from localhost ([127.0.0.1]:45581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJY2T-0001eQ-EX for submit@debbugs.gnu.org; Tue, 09 Mar 2021 03:48:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:50460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJY2R-0001eH-SP for submit@debbugs.gnu.org; Tue, 09 Mar 2021 03:48:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJY2R-0001Xc-Jy for bug-guix@gnu.org; Tue, 09 Mar 2021 03:48:23 -0500 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:36669) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJY2P-0005MQ-K5 for bug-guix@gnu.org; Tue, 09 Mar 2021 03:48:23 -0500 Received: by mail-pj1-x102f.google.com with SMTP id f2-20020a17090a4a82b02900c67bf8dc69so4617956pjh.1 for ; Tue, 09 Mar 2021 00:48:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=jqoZu1amBk+LLdsjFc6O624gV/GCBT/ugbZk+pO6Yzg=; b=MY870jTgInQY1SvH7GHL5flyLO4e5/WKtNqKfVy5hkYZ9nJotYoP1x0TX/eAYt9nLg NV9IiSUNo6fu9M3YO8+llT9YhCBsEOP2lCxudLwUEpHJBxTTfGqKAaeLl9eQ7hWsKzay nESjvY3X7Ut2a3na76DpoqFRYjANOhs6X3PQ/Yzc1O1BZ3QXnz3bAuXR3Dmbky5JYOXg UgqpoICdHMt9a1CgCQCTlN/QQX4BEADEAyb7/dDzuu0h3/UDO/FdsVTeup9Oaao+LDNW 8vpQ/zCMVt1DRlagoSPeDatBNfY5RSDChsrPfGfj9PTK1+WG0VHMYdSrB6CBH0wGI/n9 rhyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=jqoZu1amBk+LLdsjFc6O624gV/GCBT/ugbZk+pO6Yzg=; b=A8hHo9d9rk2aH7s+aoR+LB05IkZ7OU12tzhBKfafCwmx3wEjpi1T4/hikNxXklRXef RIxml08hj4VweyDp3qZ4+KfT0TNQlDCAplT919js4BJ1EC9I12kMMTMWgUSqPPq4j2dr lFXhe+w96BFojAvTrbTLrg8t+mAeWlnBv+bU8Gx6UfNg62KE0n5dAXzD0fG+qi6ybdVA q+m4MzcrT0CVB5ZjiNvgOw2adM/eBq77O2azlkUvm4FDZ1c91RaQurW+HIbGgP88KR08 CWz093APJ73QF+VEEt2IrTMJVxl6mo/dR4qtj4D6066FjjbSYq9JaRBIsZ8fGvSmIkZr nw+A== X-Gm-Message-State: AOAM532zCTdOo57JVo0gn05EsLwp/fAvasf9B4A9ge732y1KNdW1UdyD sPxylokyRmPBoCdrz+UWC0ZXzio82i+lnw== X-Google-Smtp-Source: ABdhPJywyIQ4LwAOsaoCCFNQgfLCSkhjc2Ov9Hc/ZgrwNNc77LJL4PIQLCNceKaLR4uTdtQxp5QFBQ== X-Received: by 2002:a17:90a:dd45:: with SMTP id u5mr3581757pjv.142.1615279699197; Tue, 09 Mar 2021 00:48:19 -0800 (PST) Received: from garuda-lan (c-24-18-44-142.hsd1.wa.comcast.net. [24.18.44.142]) by smtp.gmail.com with ESMTPSA id p190sm12248643pga.78.2021.03.09.00.48.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 00:48:18 -0800 (PST) From: Chris Marusich Date: Tue, 09 Mar 2021 00:48:14 -0800 Message-ID: <87r1ko4ss1.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=cmmarusich@gmail.com; helo=mail-pj1-x102f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lars-Dominik Braun Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615279764; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=jqoZu1amBk+LLdsjFc6O624gV/GCBT/ugbZk+pO6Yzg=; b=UhO6OrxXVpYdstX8zpKiGUQ4PprMpqncvswHtVG7Ws99KJyGGqki+P5pn7BhF1yMkBFAXK Iiqt2uBSwPVPvBKB7bYoeWzLE6ctuC90x85vfWoMe5JqJgL6c/pyq7LqT1Cb0LzRt8d0W6 ECoz8g9lqOP+phf7rvd9unihso37pKvkC4h2X3Gtu2j0WhLfGSGW7sjxy5RTmwrxX35FyI TZWEMNBiNRtasFd6HzH/Gw+088L6Rr09I5mxFQKMmsJx2FPy1KNYZr5j8OPuf+IPwD4bKS 6QzzzjP9Te/WWHBVUU+e4eLXtY333flYuQcNkV+Dt9zRaKItV8s52wce7wSQ3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615279764; a=rsa-sha256; cv=none; b=K6l/adw4RaroI/y4w0DCoKXTWcCBtBp1ggqr2JCCyTyI87LudcxQOwXb16ImUSQbDe1DpA oJThpSg95PD7an7TrskNrsbsd0Tu1UZ33bSmvJ/32dHKQ7L5ExBg4izHRGBT8ENDfxvH66 UTkmiqevnKZ/58FKxISJevcCjAldwToOOpFiid5XfVPltWGrgDZ1Km/zu277BG2oLtK4Gf +pjSc22agAYdvmhHMuHAOxpXa5uGVPTUaEEdQ7813ZY0HlIdqsJi+3AKeVuFosf/4OcIZW hiurV6Y0gGLob8fvyDe00ue7msAMj4vr0OQk9KDD7ItXspOrAK6+UgHfi2RZwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=MY870jTg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Migadu-Spam-Score: -3.38 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=MY870jTg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Migadu-Queue-Id: B730E27FD7 X-Spam-Score: -3.38 X-Migadu-Scanner: scn1.migadu.com X-TUID: PVKPfeeIzpVz --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Lars-Dominik, I'm CCing you on this email because you introduced the code discussed below, so I'm hoping you might know something about it. If you could please take a look, I'd really appreciate it! Starting with commit 09448c0994390697e876db235a3b773311795238, "make check" fails when a guix-daemon is running. (It doesn't fail when guix-daemon is not running, since the problematic code below is only executed when an "external store" is available.) A guix-daemon is usually running when one manually invokes "make check" on a system where Guix has already been installed. One specific test failure is test/guix-package.sh, which fails as follows: =2D-8<---------------cut here---------------start------------->8--- test-name: python-build-system: python-dummy-ok location: /home/marusich/guix-core-updates/tests/builders.scm:174 source: + (test-assert + (string-append + "python-build-system: " + (package-name p)) + (let* ((drv (package-derivation store p))) + (build-derivations store (list drv)))) actual-value: #f actual-error: + (out-of-range + #f + "Value out of range ~S to ~S: ~S" + (0 59 81) + (81)) result: FAIL test-name: python-build-system: python-dummy-no-setuptools location: /home/marusich/guix-core-updates/tests/builders.scm:174 source: + (test-assert + (string-append + "python-build-system: " + (package-name p)) + (let* ((drv (package-derivation store p))) + (build-derivations store (list drv)))) actual-value: #f actual-error: + (out-of-range + #f + "Value out of range ~S to ~S: ~S" + (0 59 81) + (81)) result: FAIL =2D-8<---------------cut here---------------end--------------->8--- The test succeeds on the previous commit. Upon closer inspection, it seems the failure occurs when calling package-derivation. By putting the following code into the tests/builders.scm file... =2D-8<---------------cut here---------------start------------->8--- (pk 'beforerun) (with-external-store store (package-derivation store python-dummy-ok)) (pk 'afterrun) =2D-8<---------------cut here---------------end--------------->8--- ...I was able to get this error message when running "make check TESTS=3Dtests/builders.scm": =2D-8<---------------cut here---------------start------------->8--- ;;; (beforerun) Backtrace: In guix/packages.scm: 1519:22 19 (thunk) 1448:25 18 (bag->derivation # =E2= =80=A6) In srfi/srfi-1.scm: 586:29 17 (map1 (("source" #) = =E2=80=A6)) 586:29 16 (map1 (("tzcode" #) = =E2=80=A6)) 586:17 15 (map1 (("tar" #) = =E2=80=A6)) In guix/packages.scm: 1224:16 14 (expand-input # # =E2=80= =A6) 1181:16 13 (package-derivation _ # =E2=80=A6) 1519:22 12 (thunk) 1448:25 11 (bag->derivation # =E2= =80=A6) In srfi/srfi-1.scm: 586:17 10 (map1 (("source" #) = =E2=80=A6)) In guix/packages.scm: 1243:5 9 (expand-input _ _ _ _ _) In ice-9/boot-9.scm: 1736:10 8 (with-exception-handler _ _ #:unwind? _ # _) In guix/packages.scm: 1248:18 7 (_) In guix/store.scm: 2062:24 6 (run-with-store # =E2=80= =A6) 1896:8 5 (_ _) In guix/gexp.scm: 258:18 4 (_ _) In guix/packages.scm: 1635:7 3 (_ _) 616:2 2 (patch-and-repack # =E2=80=A6) In unknown file: 1 (string-drop "/gnu/store/4y8yhyxhvh725bp3bk7wzr3jn8r5h=E2=80= =A6" =E2=80=A6) In ice-9/boot-9.scm: 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: Value out of range 0 to 59: 74 =2D-8<---------------cut here---------------end--------------->8--- I'm not sure exactly what the problem is. I'm inclined to believe that it represents some sort of test logic bug, rather than a real python packaging bug, I'm not really sure. I see that the problematic forms are using macros. Specifically, the tests/builders.scm code is attempting to simultaneously mix invocations of lambdas, the test-assert syntax (i.e., macro), and the with-external-store syntax (i.e., macro). I wonder if there's a macro-related bug lurking here... Any ideas? For now, the failures can be worked around by stopping guix-daemon when running "make check." Naturally, this bug isn't a problem when guix builds guix, since an external store is not available in the build environment, so the problematic code doesn't get executed there. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmBHNk4ACgkQ3UCaFdgi Rp0EzBAAuTD12/e/9kSTOXvU0eatYfk9fL7DT1wEkgoBLU4tZeECdxqbyMXOv+9B KK1rM6Hr4yYZIXW1+7AMnU4bM+tgJSdkF3k+yHAjeTgOx/r4gSfvliDt5RTPadhW rjfl1+iIyGrgwcA+b942nLWBirM/v05T0y2Pw/0Xe2rnExQDiIE5lysL5CGnYKgW AYWYW0Re1TSagIPIZfPyCJwSXLq5GXnehlRxr+6smA/sMqIjs/YN3Yt9ONobCvqF Tvvk2y5rol7MpBM51inoTdd0MD8AI7/cMQ4nZR/JL/rrZdvij5esi/Nwbsx5bJXZ 3LvFCVHo05mNg+dAQso+V6muJ2rLay/t+rmZsprKsVkmFY4vl+679kKkzS6GUjG3 MbqCMurSUAWg63x8hDsQNtutvNUhOQzFbTvvU/87SbGAYdRaw2OGyXeRk63s3i9B BrU1mpWML+0ge+j7h38TIUs010yyW/rtCWKCUnwYDfm5SzDuOc/NlN5O99mORTck jbzttPYY0rfWq4hEU7ZDJ72Em5LJy2WmifJraIL49OPVj8MMLvRdFBw/Gzxn93k6 hMBXFFC7uO1FE1dle19bq8dG1GJzjTn7sRlyotx1gr/SgqikeJQj+BZasV1/xP5U kyzJ9csWrVs6i664TjrxaY8+Pu7HHmcstmRsAOXV09oGYaAXtBQ= =CVvc -----END PGP SIGNATURE----- --=-=-=--