From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 19 01:05:19 2023 Received: (at submit) by debbugs.gnu.org; 19 Sep 2023 05:05:19 +0000 Received: from localhost ([127.0.0.1]:55113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiSvH-0000sY-0z for submit@debbugs.gnu.org; Tue, 19 Sep 2023 01:05:19 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiSvD-0000sD-NJ for submit@debbugs.gnu.org; Tue, 19 Sep 2023 01:05:17 -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 1qiSuz-0002im-IJ for bug-guix@gnu.org; Tue, 19 Sep 2023 01:05:01 -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 1qiSuy-00012L-Qv; Tue, 19 Sep 2023 01:05:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=gBpR63n+4AhLfltyTjqwG62BfxioM8Q5aFZGNaqH/Ek=; b=WTcjnzn24d77mG f49cITObHoHYcRAGSb2t6mr/hEd2vEILXQ0XcwsvYTHPy6UFQffdQQueHX4SVbQ2vsnL1EsXo+zRm 8YzRjRS6k7IuqsRl9DlnFrorKkr+AhqCffxysg2GxlJWgmspoZGrZgRUWHNmOVGWeyh0MwMzeQyfF cGW4O2Tg2cHnbWlEzXAW0UauY3/h7bxd+sySNQFU5PI3DMLFU0ssW2xogikGD0CpgjeOZzP2OiXa+ EY9UAdXIZknaVb6DuuR9tHIaiBPYVrlLuWq5UImYH1JCzKbu4A8YcN+NK2zxuaLqVGTXujk0sSU8L GQiyyD3q0kHCoGgsSv9Q==; From: Janneke Nieuwenhuizen To: bug-guix@gnu.org Subject: New test "rewrite-url, without to-version" needs network Organization: AvatarAcademy.nl X-Debbugs-Cc: maxim.cournoyer@gmail.com, efraim@flashner.co.il, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, me@tobias.gr X-Url: http://AvatarAcademy.nl Date: Tue, 19 Sep 2023 07:04:53 +0200 Message-ID: <87y1h2kb2i.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) 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 (-) Hi Maxim, As mentioned on IRC, the recently-added "rewrite-url, without to-version" test needs not only nss-certs installed, as I found when building it for the Hurd. New we also found it to fail in a container without network access. That means a guix package build (in a container) now fails. After I updated the guix version to 1.4.0-11.658de25e99 yesterday morning to (finally) get `guix pull' to work on the Hurd, several people reported failure to reconfigure on IRC. This guix shell -CD guix export SCM_LOG_DRIVER_FLAGS=3D"--select=3D^rewrite-url, without to-vers= ion" make check TESTS=3Dtests/gnu-maintenance.scm gives --8<---------------cut here---------------start------------->8--- test-name: rewrite-url, without to-version [..] expected-value: "https://dist.libuv.org/dist/v1.46.0/libuv-v1.46.0.tar.gz" actual-value: #f actual-error: + (getaddrinfo-error -8) result: FAIL --8<---------------cut here---------------end--------------->8--- When changing the code like this --8<---------------cut here---------------start------------->8--- -(test-equal "rewrite-url, without to-version" +(pk "rewrite-url, without to-version" "https://dist.libuv.org/dist/v1.46.0/libuv-v1.46.0.tar.gz" - (with-http-server + "=3D>"(with-http-server --8<---------------cut here---------------end--------------->8--- to create a backtrace, I get --8<---------------cut here---------------start------------->8--- Backtrace: 15 (primitive-load-path "tests/gnu-maintenance.scm") In ice-9/eval.scm: 214:21 14 (_ #f) 217:33 13 (lp (#)) In guix/tests/http.scm: 174:8 12 (call-with-http-server _ _) In guix/gnu-maintenance.scm: 568:6 11 (rewrite-url _ "1.45.0" #:to-version _) In srfi/srfi-1.scm: 460:18 10 (fold # ?) In guix/gnu-maintenance.scm: 500:16 9 (_ _ ("dist" "dist.libuv.org" "" "https:")) In ice-9/exceptions.scm: 406:15 8 (update-cache _) In ice-9/boot-9.scm: 1752:10 7 (with-exception-handler _ _ #:unwind? _ # _) In guix/http-client.scm: 340:20 6 (_) 107:28 5 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # ?) In guix/build/download.scm: 468:4 4 (open-connection-for-uri _ #:timeout _ # _) 469:14 3 (thunk) 396:8 2 (open-socket-for-uri _ #:timeout _) In unknown file: 1 (getaddrinfo "dist.libuv.org" "https" 32 # # #) In ice-9/boot-9.scm: 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure getaddrinfo: Servname not supported for ai_socktype --8<---------------cut here---------------end--------------->8--- Greetings, Janneke PS: Without nss-certs installed, which was the usual case in a childhurd until yesterday, I got --8<---------------cut here---------------start------------->8--- + (tls-certificate-error + invalid-certificate + # + "dist.libuv.org" + (# + #)) --8<---------------cut here---------------end--------------->8--- backtrace: --8<---------------cut here---------------start------------->8--- Backtrace: 11 (primitive-load-path "tests/gnu-maintenance.scm") In guix/tests/http.scm: 174:8 10 (call-with-http-server _ _) In guix/gnu-maintenance.scm: 568:6 9 (rewrite-url _ "1.45.0" #:to-version _) In srfi/srfi-1.scm: 460:18 8 (fold # _ _) In guix/gnu-maintenance.scm: 500:16 7 (_ _ ("dist" "dist.libuv.org" "" "https:")) In ice-9/exceptions.scm: 406:15 6 (update-cache _) In ice-9/boot-9.scm: 1752:10 5 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/http-client.scm: 340:20 4 (_) 107:28 3 (http-fetch _ #:port _ #:text? _ #:buffered? _ #:open-connecti= on _ # _ # _ # _ ?) In guix/build/download.scm: 468:4 2 (open-connection-for-uri _ #:timeout _ #:verify-certificate? _) 360:6 1 (tls-wrap # _ #:verify-certificate? _) In ice-9/boot-9.scm: 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: X.509 certificate of 'dist.libuv.org' could not be verified: signer-not-found invalid --8<---------------cut here---------------end--------------->8--- --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 14:06:05 2023 Received: (at 66097) by debbugs.gnu.org; 20 Sep 2023 18:06:05 +0000 Received: from localhost ([127.0.0.1]:60346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj1aO-0006pK-Re for submit@debbugs.gnu.org; Wed, 20 Sep 2023 14:06:05 -0400 Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:50267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj1aL-0006oh-UN for 66097@debbugs.gnu.org; Wed, 20 Sep 2023 14:06:04 -0400 Received: by mail-qt1-x82c.google.com with SMTP id d75a77b69052e-4142ca41b89so360051cf.0 for <66097@debbugs.gnu.org>; Wed, 20 Sep 2023 11:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695233146; x=1695837946; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=XqEuBrnpPXUyHxD6hX58o/F0MADH+37FjS5GB9JaqIw=; b=i3GYc1JySuhlssNc8B1LhP560Nz0ubxQJrBA0ITOD8zBr2eVuAT6Ce4wmyDktCeFPy FLBU3Rds9IkvYh21iH7HRxc95ini/jG+/KzIZWaJTg2xtdhwMQgi2IKm465wJy5FLKo7 LVEa6VIFOCa68Sr85gOTay7qLd4wzSuIaqmIoG4XBsQQQ7rP21inYuHtSPI5yAclpNBG QOoaOF2z8Sa5c/mDDzPICcwPoPrOoOvYaar1QR61NjycCkJ8QEIy0l54jCuhEgLXyEBI 7z2mCV7s3pSWIkEGozxNXnXktC7qMHL+luGNsZiDgQqPXmia1y0MFzZISgVSFxh8aJ7l RO1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695233146; x=1695837946; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XqEuBrnpPXUyHxD6hX58o/F0MADH+37FjS5GB9JaqIw=; b=b+CAYRNizBF5GzII3oTZhLnVAti68Spgjx3zTlVaaUr70TrKJ9+VfRSvv7XObx3IxL hdhmHRYTvu5la0es0VgUdnrdl2NE9GXRAwyPThIIdXQ7F8NiOB4te9beGrwC6vMGTvBY VBs39p7DoHw7nA/SsQS0ekLqTOTY/EtMZFwETnnhdaTmr5/BFUCqyP+kebBUs2FTkcQi VtwTTyRk6x/EVkv9Xw2/0zebVnA6+2rm7pR1J5MoHmSzctD5IpCwnrBiPtQ5rY/lcRFg AtNMPqc9V9+jMAUdWCF+CztzaevnbebW+zoJPEc5OVDmPUoZvnYdSWRn/j6rvjh89YQj cQAQ== X-Gm-Message-State: AOJu0YwemW8Qr3asiRcCum5V37N7XEgKcei1ap4WQvyS+9tvgX/3MVFW wSnfjYZcZZBJbxOTeGPZ+qA= X-Google-Smtp-Source: AGHT+IHt9lzxJi9mMgTQv/liBHUsWOywGTXyVuD+/o2SAEcwWYwBd3x7iB9OJg1HO2lWSNQA/Vf6gw== X-Received: by 2002:ac8:5e0d:0:b0:406:98be:bda2 with SMTP id h13-20020ac85e0d000000b0040698bebda2mr4185523qtx.59.1695233146549; Wed, 20 Sep 2023 11:05:46 -0700 (PDT) Received: from hurd (dsl-10-134-200.b2b2c.ca. [72.10.134.200]) by smtp.gmail.com with ESMTPSA id p16-20020ac84610000000b0041096c33d02sm4722307qtn.17.2023.09.20.11.05.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 11:05:46 -0700 (PDT) From: Maxim Cournoyer To: Janneke Nieuwenhuizen Subject: Re: bug#66097: New test "rewrite-url, without to-version" needs network References: <87y1h2kb2i.fsf@gnu.org> Date: Wed, 20 Sep 2023 14:05:44 -0400 In-Reply-To: <87y1h2kb2i.fsf@gnu.org> (Janneke Nieuwenhuizen's message of "Tue, 19 Sep 2023 07:04:53 +0200") Message-ID: <87h6no4t53.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66097 Cc: othacehe@gnu.org, ludo@gnu.org, me@tobias.gr, efraim@flashner.co.il, rekado@elephly.net, 66097@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.0 (-) Hi Janneke! Janneke Nieuwenhuizen writes: > Hi Maxim, > > As mentioned on IRC, the recently-added "rewrite-url, without > to-version" test needs not only nss-certs installed, as I found when > building it for the Hurd. New we also found it to fail in a container > without network access. That means a guix package build (in a > container) now fails. Ouch! That's clearly not intended. > After I updated the guix version to 1.4.0-11.658de25e99 yesterday > morning to (finally) get `guix pull' to work on the Hurd, several people > reported failure to reconfigure on IRC. > > This > > guix shell -CD guix > export SCM_LOG_DRIVER_FLAGS="--select=^rewrite-url, without to-version" > make check TESTS=tests/gnu-maintenance.scm > > gives > > test-name: rewrite-url, without to-version > [..] > expected-value: "https://dist.libuv.org/dist/v1.46.0/libuv-v1.46.0.tar.gz" > actual-value: #f > actual-error: > + (getaddrinfo-error -8) > result: FAIL > > > When changing the code like this > > -(test-equal "rewrite-url, without to-version" > +(pk "rewrite-url, without to-version" > "https://dist.libuv.org/dist/v1.46.0/libuv-v1.46.0.tar.gz" > - (with-http-server > + "=>"(with-http-server Thanks for the reproducer. I'll look into fixing the problem. I believe it's a matter of adding more mocked server replies. I must have miscounted how many were needed. -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 27 18:10:23 2023 Received: (at 66097) by debbugs.gnu.org; 27 Sep 2023 22:10:23 +0000 Received: from localhost ([127.0.0.1]:52654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qlcjQ-0007tz-E3 for submit@debbugs.gnu.org; Wed, 27 Sep 2023 18:10:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qlcjO-0007tM-5C for 66097@debbugs.gnu.org; Wed, 27 Sep 2023 18:10:06 -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 1qlcj4-0003sK-Pe; Wed, 27 Sep 2023 18:09:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=xFRuMTyQeDAjHLz85fLdmxIO8PQQD9+MDjDc9Ojwr6g=; b=JFrxt8ACMwyIgrU4KZmQ R29r4WND+QjmjovPB3Eq25/Vu0m6NWCqN7tL0YPlDeZElPq0KeDjzhLj975hmhHJJQAF38VdlrLNO uQE5Ssrx9D8mNZT4SSKzoXNnyEbG+2p6fw1+xtzcx1CJvICxiSuWnw+1cWF8ROHZ2An0rgfov9Yuy gidRMAxJy81o25yv2vySCtkRKSYBsjb5zKW0tYmsPp/3nWWYusstqs3dEz78YzMxjzMKfQzW/wFxW hhfimPum0IFkGbZrlFX5kHVGGyhnD1k0jD+whCvVN44c9Kpyyw8t80pzV76kFCQeBea2kn9orDClH prKbt8Q3wzi2BA==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Subject: Re: bug#66097: New test "rewrite-url, without to-version" needs network References: <87y1h2kb2i.fsf@gnu.org> <87h6no4t53.fsf@gmail.com> Date: Thu, 28 Sep 2023 00:09:44 +0200 In-Reply-To: <87h6no4t53.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 20 Sep 2023 14:05:44 -0400") Message-ID: <87y1grz2s7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66097 Cc: othacehe@gnu.org, me@tobias.gr, efraim@flashner.co.il, rekado@elephly.net, 66097@debbugs.gnu.org, Janneke Nieuwenhuizen 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 (-) Hi! Maxim Cournoyer skribis: > Janneke Nieuwenhuizen writes: > >> Hi Maxim, >> >> As mentioned on IRC, the recently-added "rewrite-url, without >> to-version" test needs not only nss-certs installed, as I found when >> building it for the Hurd. New we also found it to fail in a container >> without network access. That means a guix package build (in a >> container) now fails. > > Ouch! That's clearly not intended. I went ahead and fixed it in 72fc91b113564f8006094c0118f06af0f414d21b. Let me know if anything=E2=80=99s unclear! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 27 18:10:24 2023 Received: (at control) by debbugs.gnu.org; 27 Sep 2023 22:10:24 +0000 Received: from localhost ([127.0.0.1]:52658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qlcjf-0007uR-JN for submit@debbugs.gnu.org; Wed, 27 Sep 2023 18:10:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qlcjU-0007ty-VJ for control@debbugs.gnu.org; Wed, 27 Sep 2023 18:10:13 -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 1qlcjB-0003tO-S9 for control@debbugs.gnu.org; Wed, 27 Sep 2023 18:09:53 -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=GBAPjVBYGg9PgxwTaffrnBe7lYvQhya3IseII8+anUk=; b=hqlbygeeXoFRYD 9Q3uZN20pB/uTUC0uL4YBz2e5Ol//OlHTbIRbqrAxEcGP1SLp3AelGF0puYmRMdq62OaIujklZvZx dKaHoyl1ybhKuXjJmflA452BFQ8s6FS6lpO41ONgQeI4JDs4rOql+rg1KyiQFxe0a3LTlFw1MYxpc wnfvhbPL/3XjypLb2WQC1GOAgb6dDur+RIExqVCzd+bEr0L9RM+hiIycRGEQu6OOL2nENnd6PiOe6 Zl6hZ3WdBPUFtQAF9rd4eDDCYjvswUDnwoR1gRAyUGs3eApZISU9AgY689FpGGjxAVuOA3MvA5d2i plVIR1f9lro9bgIY2FlA==; Date: Thu, 28 Sep 2023 00:09:51 +0200 Message-Id: <87wmwbz2s0.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #66097 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 (---) close 66097 quit From unknown Mon Jun 16 23:55:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 26 Oct 2023 11:24:16 +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