From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8G6ZDFj0SGTDzAAASxT56A (envelope-from ) for ; Wed, 26 Apr 2023 11:52:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oPthDFj0SGTHHgAAauVa8A (envelope-from ) for ; Wed, 26 Apr 2023 11:52:24 +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 930223C69E for ; Wed, 26 Apr 2023 11:52:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prboi-0006zQ-6z; Wed, 26 Apr 2023 05:52:04 -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 1prbog-0006yu-DC for bug-guix@gnu.org; Wed, 26 Apr 2023 05:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1prbog-0002rk-51 for bug-guix@gnu.org; Wed, 26 Apr 2023 05:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1prbof-0000P6-M3 for bug-guix@gnu.org; Wed, 26 Apr 2023 05:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62656: broken guix time-machine + software-heritage Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 26 Apr 2023 09:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62656 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nicolas Graves Cc: 62656@debbugs.gnu.org Received: via spool by 62656-submit@debbugs.gnu.org id=B62656.16825026681356 (code B ref 62656); Wed, 26 Apr 2023 09:52:01 +0000 Received: (at 62656) by debbugs.gnu.org; 26 Apr 2023 09:51:08 +0000 Received: from localhost ([127.0.0.1]:54309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prbno-0000Lf-4P for submit@debbugs.gnu.org; Wed, 26 Apr 2023 05:51:08 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:44558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prbnk-0000KC-1E for 62656@debbugs.gnu.org; Wed, 26 Apr 2023 05:51:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version:content-transfer-encoding; bh=KmmvrkB6Zz1aKs83tUJmZKDiQU0LrMiLwPW73zy/tqM=; b=sVfXeLTBOdhgaHlLdNan0wocviWa2aIT7CV0YVYJnWqi1Y0qLf8RXMcO FWeOrjafyI6PDQZq1C0bBTV4PoKnM1pp1M+rzSxpDVHX43S9JECLrq3wI LAufbN2ld+cRzWpcL1CpvMad0h3AXUWaiayUwMtHdOjNsbn3+OKq6S26C o=; X-IronPort-AV: E=Sophos;i="5.99,227,1677538800"; d="scan'208";a="105038451" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2023 11:50:57 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <878rf8hch7.fsf@ngraves.fr> Date: Wed, 26 Apr 2023 11:50:57 +0200 In-Reply-To: <878rf8hch7.fsf@ngraves.fr> (Nicolas Graves's message of "Mon, 03 Apr 2023 23:39:32 +0200") Message-ID: <87pm7rx98e.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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682502744; a=rsa-sha256; cv=none; b=Iw2aqSD0nkqvLBEFFtB/4+uWijukUcCPwrO0IhxqOoBbWIFMtfQ8DVoJOKHwrYCxTKj3LG xNgVmBznvHqTj41kr3ZBnZCSTuL1csIvWgKLkrmxTJHya5WvlPOUhRjctiB7ms2UHjWaYT kcNmH671q1GI5Ur/da6XdOD0wg2jwoMtDKNmCdcmnWIf9vXjcqEkTVChe37Wcf9DoSfZJH elr5WpL5y6MsRXGkp1RaiSc8MMKxJwRjiW5RzdmP1NHJb34GF44EreR9GHcttcOsf1xIkf Gn5Vv5YT27MNkjC1Kfr9YuLQQy9e4vMozvAEnvxWUU7tvzxuYJ9w8r4tltXKTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=sVfXeLTB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (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=1682502744; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KmmvrkB6Zz1aKs83tUJmZKDiQU0LrMiLwPW73zy/tqM=; b=a7xJ1n3bTjGNDcBx7ttg6CqLkf1Ty8WnJhk2PdZV+WYPMrYcCZpijmj+fiW4y+tr/aHs4K TdBXHeObdgtYc4UlMk6rbz4F+GnIH85RO/hWEzVlblRBOEv+VeY81BMhvC5bi6RXzHJ2qB RDyynn8MxaF2Zm8dASEl5P/RouOgQfsagsCw7AJwG9fpR34e9O4uu4FX2QjwwK/RfJrfcA oJYapUW1XCp1hjEEjiEMVuNz0XUIK16qLKzpeuxptd1qIailgrXH/I/UW4aZK3PMWTgKOg oOu41TBfDg9nrOxdkiux/4fZ/gadBmJEmvf/BqjJYYZ75z75K05nf/imgJnjXQ== X-Migadu-Spam-Score: -1.01 X-Spam-Score: -1.01 X-Migadu-Queue-Id: 930223C69E X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=sVfXeLTB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (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" X-TUID: mCN+xK3yRPpo Hello, Nicolas Graves skribis: > I was trying to use guix time-machine as I did in the past, but the > recent updates with software heritage seem to have broken my use of it. > > Here's the channels.scm file I used: > > (list (channel > (name 'guix) > (url "/https://git.savannah.gnu.org/git/guix.git") > (commit "1984d56b0e437af7be7fa6cf8e1a00e45eb8ffa1") > (introduction > (make-channel-introduction > "9edb3f66fd807b096b48283debdcddccfea34bad" > (openpgp-fingerprint > "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))) Interesting test! > Here is the content + backtrace of the time-machine call, after the ~10 > hours long object processing on Software Heritage side: > >> guix time-machine -C channels.scm -- shell > Mise =C3=A0 jour du canal =C2=AB guix =C2=BB depuis le d=C3=A9p=C3=B4t Gi= t =C2=AB /https://git.savannah.gnu.org/git/guix.git =C2=BB... > SWH: found revision 1984d56b0e437af7be7fa6cf8e1a00e45eb8ffa1 with directo= ry at 'https://archive.softwareheritage.org/api/1/directory/1ea499e7529e67a= 0632ecbe0a8214f0618a82c1a/' > swh:1:rev:1984d56b0e437af7be7fa6cf8e1a00e45eb8ffa1.git/ > swh:1:rev:1984d56b0e437af7be7fa6cf8e1a00e45eb8ffa1.git/HEAD > swh:1:rev:1984d56b0e437af7be7fa6cf8e1a00e45eb8ffa1.git/branches/ > swh:1:rev:1984d56b0e437af7be7fa6cf8e1a00e45eb8ffa1.git/config > swh:1:rev:1984d56b0e437af7be7fa6cf8e1a00e45eb8ffa1.git/description [...] > 3 (get-bytevector-n! # # 0 #) > In web/response.scm: > 95:2 2 (read! _ _ _) > In ice-9/boot-9.scm: > 1685:16 1 (raise-exception _ #:continuable? _) > 1685:16 0 (raise-exception _ #:continuable? _) > > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > Throw to key `bad-response' with args `("EOF while reading response body:= ~a bytes of ~a" (53394376 296632320))'. I can reproduce it like this: --8<---------------cut here---------------start------------->8--- $ wget -O/tmp/swh.git \ "https://archive.softwareheritage.org/api/1/vault/git-bare/swh:1:rev:198= 4d56b0e437af7be7fa6cf8e1a00e45eb8ffa1/raw/" --2023-04-26 11:43:22-- https://archive.softwareheritage.org/api/1/vault/g= it-bare/swh:1:rev:1984d56b0e437af7be7fa6cf8e1a00e45eb8ffa1/raw/ Resolving archive.softwareheritage.org (archive.softwareheritage.org)... 12= 8.93.166.15 Connecting to archive.softwareheritage.org (archive.softwareheritage.org)|1= 28.93.166.15|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 296632320 (283M) [application/x-tar] Saving to: =E2=80=98/tmp/swh.git=E2=80=99 /tmp/swh.git 13%[=3D=3D=3D> ] 39.= 11M 84.1MB/s in 0.5s=20=20=20=20 2023-04-26 11:43:40 (84.1 MB/s) - Connection closed at byte 41015184. Retry= ing. --2023-04-26 11:43:41-- (try: 2) https://archive.softwareheritage.org/api= /1/vault/git-bare/swh:1:rev:1984d56b0e437af7be7fa6cf8e1a00e45eb8ffa1/raw/ Connecting to archive.softwareheritage.org (archive.softwareheritage.org)|1= 28.93.166.15|:443... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 296632320 (283M), 255617136 (244M) remaining [application/x-tar] Saving to: =E2=80=98/tmp/swh.git=E2=80=99 /tmp/swh.git 65%[++++=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D> ] 184.66M 96.7MB/s in 1.5s=20=20=20=20 2023-04-26 11:44:00 (96.7 MB/s) - Connection closed at byte 193634304. Retr= ying. [=E2=80=A6] --2023-04-26 11:48:01-- (try:12) https://archive.softwareheritage.org/api= /1/vault/git-bare/swh:1:rev:1984d56b0e437af7be7fa6cf8e1a00e45eb8ffa1/raw/ Connecting to archive.softwareheritage.org (archive.softwareheritage.org)|1= 28.93.166.15|:443... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 296632320 (283M), 28199637 (27M) remaining [application/x-tar] Saving to: =E2=80=98/tmp/swh.git=E2=80=99 /tmp/swh.git 90%[+++++++++++++++++++++++++++++ ] 256.00M 5= .39KB/s in 0.3s=20=20=20=20 2023-04-26 11:48:19 (5.39 KB/s) - Connection closed at byte 268434406. Retr= ying. --2023-04-26 11:48:29-- (try:13) https://archive.softwareheritage.org/api= /1/vault/git-bare/swh:1:rev:1984d56b0e437af7be7fa6cf8e1a00e45eb8ffa1/raw/ Connecting to archive.softwareheritage.org (archive.softwareheritage.org)|1= 28.93.166.15|:443... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 296632320 (283M), 28197914 (27M) remaining [application/x-tar] Saving to: =E2=80=98/tmp/swh.git=E2=80=99 /tmp/swh.git 90%[+++++++++++++++++++++++++++++ ] 256.00M -= -.-KB/s in 0s=20=20=20=20=20=20 2023-04-26 11:48:46 (0.00 B/s) - Connection closed at byte 268434406. Retry= ing. --8<---------------cut here---------------end--------------->8--- The server keeps closing the connection prematurely. Unlike our client in Guile, wget keeps retrying and so, little by little, it eventually gets more bytes. In my case it seems to get stuck at 90% though, where each attempt gives it zero or very few additional bytes. I suspect this is an issue at SWH. I=E2=80=99ll bring it up there. Thanks, Ludo=E2=80=99.