From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aCWgNgTLnmENxQAAgWs5BA (envelope-from ) for ; Thu, 25 Nov 2021 00:30:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sKFOMgTLnmEyGwAA1q6Kng (envelope-from ) for ; Wed, 24 Nov 2021 23:30:12 +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 A3FD3A196 for ; Thu, 25 Nov 2021 00:30:12 +0100 (CET) Received: from localhost ([::1]:37678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mq1iN-0004H8-Rt for larch@yhetil.org; Wed, 24 Nov 2021 18:30:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mq1iE-0004Go-MQ for bug-guix@gnu.org; Wed, 24 Nov 2021 18:30:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43660) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mq1iE-0001Cj-CR for bug-guix@gnu.org; Wed, 24 Nov 2021 18:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mq1iE-0000aN-7W for bug-guix@gnu.org; Wed, 24 Nov 2021 18:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 24 Nov 2021 23:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.16377965462139 (code B ref 46212); Wed, 24 Nov 2021 23:30:02 +0000 Received: (at 46212) by debbugs.gnu.org; 24 Nov 2021 23:29:06 +0000 Received: from localhost ([127.0.0.1]:55202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq1hK-0000YQ-0f for submit@debbugs.gnu.org; Wed, 24 Nov 2021 18:29:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq1hI-0000Xv-J9 for 46212@debbugs.gnu.org; Wed, 24 Nov 2021 18:29:04 -0500 Received: from [2001:470:142:3::e] (port=52264 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mq1hD-00015E-AI; Wed, 24 Nov 2021 18:28:59 -0500 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=fijOmcduZ0JUaN1Yv8qrX23ptXuPPRqNYAiTd5eS2oo=; b=F93WCCWU65qDvqLfWWJS 2sgRV1ngNNk06VnOf9de+xE5FWtVGPhYMSETwsHPCiSw3eQDSLLCJf7xtFxneJ2a5cM9aq2aSJ+2P /LGYMbeRQcnYED38kqvXpl4A3MNbcFL8QtBHrdheB+jU7sXKgHL9S/3wrYtaI3MpK3l1SoEBjveUM gs1o5xzyc+6U8UFroHhAUtNdVi5Nmm8kP/Sq2z1e/KgHBO73DaEi+DLbth+/231sJeu14Y0FezZlG EFfEnNr/06zE0sq7QpT3wRWZ7/LnNmGXJfOARC0lh2RkNLOBALHrOdp7w1O5Fa8kArWBMOMVH1ncL rVerkd7bhrJyQw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:65086 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mq1hC-0001wO-UX; Wed, 24 Nov 2021 18:28:59 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87zh0pf9ip.fsf@cbaines.net> <87tum4sj45.fsf@cbaines.net> <87pmwjh5ao.fsf@gnu.org> Date: Thu, 25 Nov 2021 00:28:57 +0100 In-Reply-To: <87pmwjh5ao.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 18 Jun 2021 11:48:31 +0200") Message-ID: <87zgptf806.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: , Cc: Mathieu Othacehe , 46212@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637796612; 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=fijOmcduZ0JUaN1Yv8qrX23ptXuPPRqNYAiTd5eS2oo=; b=NyC4G+5jF8dG9oCEJyM0relXCZBJ16NJZpDWevuWiDo/CwP6EVE+8AofA5SpF26D8wJfqJ YB7rW5uli6svGz3JNPKk8JETO8qL/QgwOjhnT81hpqNUG4kABk6sdajuO6SuhRvyMBGy1z +GCr8nZHkLwsLVBtjf8S4Ul49jYtyaOHkATBRMcvwN1/5kSi0sKbd4xQ8pPsslC1xlHWeW eHjT+TwcsI+W4O7kp0Pn3bQcu5NQA/An/DaABw/IaI6cA8v3HKjE9R+xRAotCe3UNhNSmJ 4LyokuzXVb9MKyOGFwCL1vqLHYx9hZ/TO24V+ThjIRAFFwyAkd2foluXEa4eHA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637796612; a=rsa-sha256; cv=none; b=JJdeAHJE9tl5S8aHGoP2AEVPC0bhbulHsoVC/mRhyhOdSE6DpU891vBVtsGsEpnyA38WDh w0kKTVkuQRdxzbXRO0Ub5pAzkvyLu8I+Z2o0HhZ3RKy5qZf25fLZ+HmH+F7G4ITqQjnXzG ECXxIadVxnce77OGhjx+pb8jHTt2BDh8l+Q7lv8sBXPeseJps12Q4kfvyjf0g+PWQMZXTC jaNEvhKy/7cfxgZeMmeaD0cMwBqBnnIUYQuqcD4FmxwukXJEX0m99cHOGOxveBetu5CyJ9 TUMmvTCx8PaSIiiY5Ke2MJn0aKNPVcjNybmOKWf3p+641uhN5sNrpaXQnYZ90Q== 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=F93WCCWU; dmarc=pass (policy=none) header.from=gnu.org; 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-Migadu-Spam-Score: -3.59 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=F93WCCWU; dmarc=pass (policy=none) header.from=gnu.org; 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-Migadu-Queue-Id: A3FD3A196 X-Spam-Score: -3.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: MrThdQP4/xm9 Hi, Ludovic Court=C3=A8s skribis: > This is what I get for the last one: > > sqlite> select * from validpaths where path =3D '/gnu/store/q6qa5s2z2l20q= 25qpxyfv1wni5wwhk24-flightgear-2018.3.5'; > 48732920|/gnu/store/q6qa5s2z2l20q25qpxyfv1wni5wwhk24-flightgear-2018.3.5|= sha256:86426115e1f49835a24612ae89a180e87ac835332b4e83d19ecbd43211336cd2|162= 3360391|/gnu/store/722yyaa1qvkaakn6p7ywwr4dnm5wmddz-flightgear-2018.3.5.drv= |-1610199336 > > > The registration date is: > > scheme@(guile-user)> ,use(srfi srfi-19) > scheme@(guile-user)> (date->string (time-utc->date (make-time time-utc 0 = 1623360391)) "~1" ) > $164 =3D "2021-06-10" > >> I think there were safeguards put in place to avoid bad data making it's >> way in to the store database? > > I thought so too (commit 13a7d2a538b00aa0a8cf9b999f1a4ff3e5959af9)! > So we must be using another code path. At last I found the culprit (me! :-)). This is fixed by commit f9b1bb916c284bea00dd5549a43e0894b219d650. The reason ci.guix would experience it and not bayfront is because the Cuirass worker mechanism relies on substitutes to retrieve files from a worker, and this is how it would end up storing a negative size. We=E2=80=99ll have to upgrade the =E2=80=98guix=E2=80=99 package and deploy= it on berlin. I don=E2=80=99t think it=E2=80=99s easily feasible to fix existing entries in= the store database and (more importantly) narinfos so I=E2=80=99d just leave them aro= und; the bogus nar size propagates but it=E2=80=99s harmless and doesn=E2=80=99t= prevent substitution. Thoughts? Ludo=E2=80=99.