From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WP1oGVEsCWUdOQAAauVa8A:P1 (envelope-from ) for ; Tue, 19 Sep 2023 07:06:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WP1oGVEsCWUdOQAAauVa8A (envelope-from ) for ; Tue, 19 Sep 2023 07:06:25 +0200 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 F260E41471 for ; Tue, 19 Sep 2023 07:06:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=WTcjnzn2; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695099985; a=rsa-sha256; cv=none; b=Swq/zDU/tpObeTmZCM7B88enDTysFu07jcaNluE0tKugEVK1JrY0wpiqbUBeAeQWVT9p+y 1LlqAj2mrjqwcfEIaHTqXOqPY1UHjyhosI10ptUostoODIOdi0hgmL4ayj8wnttzgkjVmI 7Shg+w5kopR3wSi6gho1fysxDZWn/2CH9rM0oodEKZr3SVBbnZmAi/oBsjZ0IBGILildnz PbhJt2QIJ07irP1TC7M7gifvdY6/W8upUe1KaVmoQHPPgdYUX6rUIcSGnYUVsHyFODBwyU AoA5JTeVoStoUbbV42Vn2lC4jMIXsdEcxvEKPEZjSnjkMdRGALj5KBVHcT9C4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695099985; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=gBpR63n+4AhLfltyTjqwG62BfxioM8Q5aFZGNaqH/Ek=; b=IC7TbstgjsKQlJJSV+xKax4oYo27LIvJik/5XJtAPA9URv2XQXJcoB/xWUmA80V0HlytQv GP/IW7c9vOnEGbN6n3akbd1AkZoSQ9OT8kDsN/wTwR0Mljnr2v4MQyX1biMC08yz74Hlar 5R1xUjLVrtx5jPM54ADMFrvjO2nZbn244TfqHsZIpa1v8b5irD6SJv8oAohwE/3ruL7c6x hA7XGh9zUdQUgq9XTDG6apraXG+4mthNvP7Nn/VsR+rNWyCHDlDg3fzXbzUYiSrv4qLC6e KkTeuK2paY0lB4U2EQ5CivhILpYZvBOL5sFSuBx2J77xezONZiJuyL3zIJyRqw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=WTcjnzn2; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiSvx-0002u0-2u; Tue, 19 Sep 2023 01:06:01 -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 1qiSvv-0002tY-3y for bug-guix@gnu.org; Tue, 19 Sep 2023 01:05:59 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qiSvu-0001Jb-1y; Tue, 19 Sep 2023 01:05:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiSvx-0000tc-Pb; Tue, 19 Sep 2023 01:06:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66097: New test "rewrite-url, without to-version" needs network Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, efraim@flashner.co.il, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, me@tobias.gr, bug-guix@gnu.org Resent-Date: Tue, 19 Sep 2023 05:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66097 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66097@debbugs.gnu.org Cc: maxim.cournoyer@gmail.com, efraim@flashner.co.il, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, me@tobias.gr X-Debbugs-Original-To: bug-guix@gnu.org X-Debbugs-Original-Xcc: maxim.cournoyer@gmail.com, efraim@flashner.co.il, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, me@tobias.gr Received: via spool by submit@debbugs.gnu.org id=B.16950999193386 (code B ref -1); Tue, 19 Sep 2023 05:06:01 +0000 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 Organization: AvatarAcademy.nl 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-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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.40 X-Spam-Score: -5.40 X-Migadu-Queue-Id: F260E41471 X-Migadu-Scanner: mx2.migadu.com X-TUID: iM3Y9Ts1w0Fn 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