From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aCDyJRCLnmZDXAAA62LTzQ:P1 (envelope-from ) for ; Mon, 22 Jul 2024 16:38:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id aCDyJRCLnmZDXAAA62LTzQ (envelope-from ) for ; Mon, 22 Jul 2024 18:38:40 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=WjfU6fTU; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721666320; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=G0MsaDgv7H4HhppOZus8/tkNgHAH0YU1thx6DKiuQPY=; b=rE1ew/7rVKJz229vzbKVjiUcVl5lPzzV/uxptaO6h6weRLli6y8IXzx8A3ymNqKBZ5DlHN /n7dbKuxA6/kVQX2ZBZfJcZM7/ApbqckmUMFhHMwzl2uG4+0VLFiS49jQSfdwb6azZzpse zc66pnlVqRguR6OKQ/82eJGr3aSfrU8lTGtlkiboMOZlZHxpb6eCxaxlIvXmH2PPgIrqUn k6UzoFMmfYlBkWQGQ7jnj8g1mrH/QG8G9AnVGBEL00DmDckIY5xPuwZL9wiFkV76ESpd4r 2J/b4kUTTeaDfELoegw3EdZCDjewdSsrbN0jxT1S4vdM9lzvVTAvrxK9AFAqrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=WjfU6fTU; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721666320; a=rsa-sha256; cv=none; b=BturuJjYpFtaM9kCrt+Swo3gMy3eR3eXdHh11A+SkYhvJT1eiusmW5ypjxLsD4LXN9nGhD ncs8y4ZQRdemt9oaAZq/D+fkh0J4u4o/ehZG7rEG9p770KMhvsBdp8XqbKdwlnsPZs/QOW G2DX2l0j5GtvirYg/vRhLaVX/SbC8o4NDHAjRk3vsz20Qu0va70doInCI9ygOPDkCxfsm8 QdBpOW7rvKVT7Falx61AnCH2vkpjwar1tbJaMPRqvvc7k0O2c+w6QLQB3Z2uFi5v0y8/gd MtfLEgl8baFgMY8pl2XInh2OJ7eD++0863y2OcVdG1XER0XGuX8R6hHEw72CPA== 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 715D154368 for ; Mon, 22 Jul 2024 18:38:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVw2x-0006ya-An; Mon, 22 Jul 2024 12:37:59 -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 1sVw2t-0006vt-9P for guix-devel@gnu.org; Mon, 22 Jul 2024 12:37:56 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sVw2q-0005Gm-Lc; Mon, 22 Jul 2024 12:37:54 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-427b9fca517so4670485e9.2; Mon, 22 Jul 2024 09:37:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721666269; x=1722271069; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=G0MsaDgv7H4HhppOZus8/tkNgHAH0YU1thx6DKiuQPY=; b=WjfU6fTUhJIajyct0omYbxlRrFAwt+YEMV4/C3XsCAy57OU4c2L6IqvyGPfVsIW85+ e+Z4C3i9YBzWBWQg5sSYWcsVi7Qz8VfqGrEIbXxvR/dHWsGv07IspVeYbHpwYgQw08CY GHmlbF7MPh8nFB2TZfTqghou6sbtQY1hqQAa+3Bb1/y/MRKag3MRZMLSjb4kDagruCTW w6NObtMwuFdb/4fBAnNuNlv8oKZOmpLW/Xg+diXejP+DV4VsdOnUSwiRZPfDJdG0I1pe j5c3j2NutqXGzqqYRqEZcEicgy01HSnmuCHx55RQdoQ609pdUEAY70WvhsxejNNMNW5b xdPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721666269; x=1722271069; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=G0MsaDgv7H4HhppOZus8/tkNgHAH0YU1thx6DKiuQPY=; b=h5LpcikEiQcuRl76ioqPjIOBk0VPaIFq0t8zbiq4KBaGNLmxOCzwJbo/PrCspiQxrd cAEKiwOmt0l31xSD0GGwA7kG3iEIGqh4G4t6X8sKXV17Z9DjrCeC0If2jbObC36m6KrR V5uOwCB17g0Nzo99fXN+h/cz9tT3Fz+x+WqhrtovDvG+llcs+Ec7OntreruSflW8Adaa jCpsp+AqXK5pITS5fhVgK3rSUzs6VkiLoquSTbDG1mFIV67+I4Ncbgpi9s7iuS1CuAjo PLuLiJxsYqtmj+xCt9SKL4raN74EFc9KL+52Neyet0Yg4/UXw83SiRwP6+NqEu0HAzel U1cQ== X-Forwarded-Encrypted: i=1; AJvYcCXTUJ7oOlBvduYdI56M0iPdMZXUFeykZT6G4GvxWsIbuICojszj7Iy7F3bUTxo7dnaNk+1UoayYQTjePTXMYmjR868= X-Gm-Message-State: AOJu0YxQR+9D0gETyeBEXak9CBrnQv/nNSxW3YIjC6uNgBqci57sqwnd sV7jMMSLWAvD8O8IU1h5HCoa6uWz/BUzlHzzWsQr6Y7aCBWEhoC9k1s0xg== X-Google-Smtp-Source: AGHT+IGBkjMVurW59BqJpCASDO/nbSNUSI0hj2Rp9ErngQbfXPX64hrS45Riy0joDfZZs9oGRE2H2A== X-Received: by 2002:a5d:5f83:0:b0:368:4c38:9c93 with SMTP id ffacd0b85a97d-369b69c4ddbmr3796110f8f.8.1721666268813; Mon, 22 Jul 2024 09:37:48 -0700 (PDT) Received: from lili (2a02-8429-6820-f501-155c-29e9-ef9d-8cf9.rev.sfr.net. [2a02:8429:6820:f501:155c:29e9:ef9d:8cf9]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427d690152esm134435715e9.13.2024.07.22.09.37.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jul 2024 09:37:48 -0700 (PDT) From: Simon Tournier To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Ian Eure , guix-devel Subject: Re: Reducing "You found a bug" reports In-Reply-To: <87v80ynavh.fsf@gnu.org> References: <87frtmu7ov.fsf@meson> <878qz3913k.fsf@gnu.org> <87le1zev1r.fsf@gmail.com> <87v80ynavh.fsf@gnu.org> Date: Mon, 22 Jul 2024 13:30:39 +0200 Message-ID: <877cddhdeo.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32c.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 715D154368 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.75 X-Spam-Score: -9.75 X-TUID: RCLscl0Qr+HS Hi, On Sun, 21 Jul 2024 at 15:16, Ludovic Court=C3=A8s wrote: >>> I=E2=80=99m fine removing the =E2=80=9Creport a bug=E2=80=9D message, m= aybe replacing it with >>> some clearer diagnostic and suggestion? WDYT? >> >> Could we detect if it comes from networking? Somehow catch the error >> and run some code that checks stuff and so report more =E2=80=9Caccurate= =E2=80=9D >> messages? > > Someone=E2=84=A2 would need to analyze some of the reports we have (some = of them > have already been commented on) to determine what happened and whether > that is something we could diagnose differently. Over the years, I have spent some time in answering to some of these bug reports; see [1] for one instance of an attempt to be this Someone=E2=84=A2= ;-). More than often, the issue is transient, hard if not impossible to reproduce and thus hard to analyze. Even, when it happens for me, sometimes I say ok let try to collect some information for helping in debugging that but then just running again =E2=80=9Cguix pull=E2=80=9D make= s it pass. Excluding the bug between the keyboard and the chair, most of the time it seems coming from either user=E2=80=99s network, or either substitute servers. Most of the time the bang is transient. Bah I do not know exactly what or how =E2=80=93 otherwise I would have prop= osed a patch or something ;-) =E2=80=93 but I think we need to =E2=80=9Cinstrume= nt=E2=80=9C the command =E2=80=9Cguix pull=E2=80=9D in order to collect a trace for then di= agnosing. Somehow, maybe it could be a good application of Maxim=E2=80=99s proposal f= or logging [2]. Well, instead of an =E2=80=9Cuseless=E2=80=9D backtrace, it would be more h= elpful to have a kind of log or coredump; maybe something under /var/log/guix/. I think the next step is not =C2=AB Someone=E2=84=A2 would need to analyze = some of the reports =C2=BB because the reports often provide only the same =E2=80= =9Cuseless=E2=80=9C backtrace, so instead the next step seems: =C2=AB Someone=E2=84=A2 would ne= ed to implement a better way for generating good reports =C2=BB. ;-) Cheers, simon 1: collection of =E2=80=9Cguix pull=E2=80=9C bug reports Simon Tournier Wed, 23 Aug 2023 18:17:20 +0200 id:86jztl20of.fsf@gmail.com https://lists.gnu.org/archive/html/guix-devel/2023-08 https://yhetil.org/guix/86jztl20of.fsf@gmail.com 2: [bug#68946] [RFC PATCH 0/1] Add logging capability to Guix Maxim Cournoyer Mon, 05 Feb 2024 23:12:00 -0500 id:cover.1707192720.git.maxim.cournoyer@gmail.com https://issues.guix.gnu.org/68946 https://issues.guix.gnu.org/msgid/cover.1707192720.git.maxim.cournoyer@gmai= l.com https://yhetil.org/guix/cover.1707192720.git.maxim.cournoyer@gmail.com