From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kJNJONg0C2UkhgEAauVa8A:P1 (envelope-from ) for ; Wed, 20 Sep 2023 20:07:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kJNJONg0C2UkhgEAauVa8A (envelope-from ) for ; Wed, 20 Sep 2023 20:07:21 +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 C6496645B6 for ; Wed, 20 Sep 2023 20:07:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=i3GYc1Jy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695233240; 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:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=XqEuBrnpPXUyHxD6hX58o/F0MADH+37FjS5GB9JaqIw=; b=ILKinIywGi3bXHzgcGDI6911e1nv56vn1FYoE+eredSogG9EIDvtGKp57BuOvrZ7ju+L3X +nczYDxLrr6fsVb54yT7s5ymC6Nv/KDmNWTcM+l6K2jQJs6tT4ws71Fi/xeUlTQ72r+j4y zhuCWan2Amu4GnqVv7NkvIsvpE/FB++g5nDyvRjTu9TwtFDV4ptt+lSX/ePKRxUSu9Z68Z Kq3sK5m6AIIspCdxsZUWINzVoziVIghpCvGSRUdSEz3bMYHebMzUjp0tPGqdUz+VIwkzqT yAsrCzPx02MVrLQj18MoVt/qUtdo2JQVIOwak7hBla/lcwfRWEOm+S7jukucKg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695233240; a=rsa-sha256; cv=none; b=gHNm3vWG/Yk62ZXt8lHgU+vw6dy5EOCpQWhFwOtIdu0REgAt6a7uSvhEGeZTpOrBf/Tt/A 86sq96Ns/+k0KpgKfDzd6KfGr00CrrjC2fwlZsiGYzZXMt43zfExSllNi/0aHqWuHX2eCp ECcrhdUaAkVQ0EqzC8y1B5j/a9mtQh8xoj5+sL8mBYDhhOiR42zZJ+iJt3gtQhjsOu6ymH StKtoAgEcoHCbBd8uJby7TIy4yZfDcRVXenbDdPPFFw7g9fMGK8NrhQfRau8FFgpOWS8MK ipQeVGr5qPqKWiznEJr/CZ2wILWvlh4O/52ZzSM1XqV05pfoDnZ8zLS78VIRYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=i3GYc1Jy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qj1bF-0005NC-Tb; Wed, 20 Sep 2023 14:06:57 -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 1qj1bD-0005Ke-Qd for bug-guix@gnu.org; Wed, 20 Sep 2023 14:06:56 -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 1qj1bA-0007Pe-SQ for bug-guix@gnu.org; Wed, 20 Sep 2023 14:06:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qj1bK-0006qr-Bs for bug-guix@gnu.org; Wed, 20 Sep 2023 14:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66097: New test "rewrite-url, without to-version" needs network Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 20 Sep 2023 18:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66097 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Janneke Nieuwenhuizen Cc: othacehe@gnu.org, ludo@gnu.org, me@tobias.gr, efraim@flashner.co.il, rekado@elephly.net, 66097@debbugs.gnu.org Received: via spool by 66097-submit@debbugs.gnu.org id=B66097.169523316526250 (code B ref 66097); Wed, 20 Sep 2023 18:07:02 +0000 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 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-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: 2.88 X-Spam-Score: 2.88 X-Migadu-Queue-Id: C6496645B6 X-Migadu-Scanner: mx0.migadu.com X-TUID: cfQ4VVAeuZLO 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