unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Ian Eure <ian@retrospec.tv>, guix-devel <guix-devel@gnu.org>
Subject: toward a plan? (was Re: Reducing "You found a bug" reports)
Date: Tue, 10 Sep 2024 16:51:09 +0200	[thread overview]
Message-ID: <87wmjjd0ki.fsf@gmail.com> (raw)
In-Reply-To: <87frtmu7ov.fsf@meson>

Hi,

As Ian pointed out earlier, here some “guix pull” bugs:

    55066
    58309  closed
    61520  closed
    62023  closed
    62830

And most of them are transient or hard to reproduce.  More had been
listed in [1], it reads:

    63451
    63830
    64489
    64659  v1.4.0
    64753
    64963

And it’s often the same: transient or hard to reproduce.  Here a larger
collection continuing…

    64753
    65495
    65549
    65560  v1.4.0
    66600  v1.4.0
    67035
    67179  v1.2.0
    67482
    67806  v1.4.0
    67956  v1.2.0
    67965  v1.4.0
    68397  v1.4.0
    69127  v1.4.0
    69334
    69726  v1.3.0
    70075  v1.3.0
    70192
    70200  v1.4.0
    70201  v1.4.0
    70297  v1.3.0
    70646  v1.4.0
    70649
    70650  v1.4.0
    70651
    70658  v1.4.0
    70667
    70681  v1.3.0
    70940
    71426
    71437  v1.4.0
    71691  v1.4.0
    71908
    71945
    72028  v1.4.0
    72100
    72135  upgrade from v1.2.0    
    72332  v1.4.0
    72353  v1.4.0
    72563  v1.4.0
    72639  v1.4.0

Please note v1.4.0 means the host revision was v1.4.0.


After looking at some of these, we have 3 classes of bugs:

 1. transient
 2. pulling from too old host revision
 3. mix of both


IMHO, the next actions are:

 a) Replace this message:

--8<---------------cut here---------------start------------->8---
                      (message (format #f "You found a bug: the program '~a'
failed to compute the derivation for Guix (version: ~s; system: ~s;
host version: ~s; pull-version: ~s).
Please report the COMPLETE output above by email to <~a>.~%"
--8<---------------cut here---------------end--------------->8---

    by something like: “sorry, could you try again guix pull --commit=~s
    and report if it fails again.”


 b) Put here and there some logging [2] information.  Patch#68946 [2]
    provides logging facilities but is missing concrete user.

    It could be worth to have it.  So then, once “guix pull” fails, we
    could ask to re-run “guix pull --commit=<target> --log-level=debug”.

    This would help in having some information at failure time instead
    of asking them after.

    Moreover, it would provide information in order to diagnose all
    these transient errors and see if they could be catched up instead
    of erroring.

WDYT?

In all cases, feel free to pick one or more bugs from the list above and
investigate.  Many do not have any answer – which is not welcoming and
friendly.

Cheers,
simon



1: collection of “guix pull“ bug reports
Simon Tournier <zimon.toutoune@gmail.com>
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 <maxim.cournoyer@gmail.com>
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@gmail.com
https://yhetil.org/guix/cover.1707192720.git.maxim.cournoyer@gmail.com


  parent reply	other threads:[~2024-09-10 16:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-09  3:04 Reducing "You found a bug" reports Ian Eure
2024-06-17 12:59 ` Ludovic Courtès
2024-06-17 16:09   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2024-06-17 20:40     ` Ricardo Wurmus
2024-07-22 20:48     ` Attila Lendvai
2024-07-17 18:24   ` Simon Tournier
2024-07-21 13:16     ` Ludovic Courtès
2024-07-22 11:30       ` Simon Tournier
2024-07-22 17:43         ` Suhail Singh
2024-09-10 14:51 ` Simon Tournier [this message]
2024-09-11  0:20   ` toward a plan? (was Re: Reducing "You found a bug" reports) Suhail Singh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wmjjd0ki.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ian@retrospec.tv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).