unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: zimoun <zimon.toutoune@gmail.com>
Cc: Guix Devel <guix-devel@gnu.org>, Mathieu Othacehe <othacehe@gnu.org>
Subject: Re: Continuous integration - automatic EMAIL
Date: Tue, 13 Oct 2020 15:59:31 +0200	[thread overview]
Message-ID: <87k0vui5vg.fsf@gnu.org> (raw)
In-Reply-To: <CAJ3okZ2K0KxW60XnREJZNvedL_a53cNG87rW+3aoqBg6+vGxBg@mail.gmail.com> (zimoun's message of "Mon, 12 Oct 2020 21:12:54 +0200")

Hi!

zimoun <zimon.toutoune@gmail.com> skribis:

> If "guix weather -m" is improved, does it fill the gap?

I think it helps, but it’s not the same as getting a notification for a
commit you’ve just made.

> Because it is exactly doing what is required, isn't?  But it is not
> suitable for this purpose because of UI.  I mean:
>
> $ cat /tmp/spec.scm
> (specifications->manifest (list "emacs" "gcc-toolchain" "python-umap-learn"))
>
> $ guix weather -m /tmp/spec.scm
> computing 49 package derivations for x86_64-linux...
> looking for 66 store items on https://ci.guix.gnu.org...
> https://ci.guix.gnu.org
>   97.0% substitutes available (64 out of 66)
>   at least 340.7 MiB of nars (compressed)
>   534.1 MiB on disk (uncompressed)
>   0.001 seconds per request (0.0 seconds in total)
>   1,768.0 requests per second
>   'https://ci.guix.gnu.org/api/queue?nr=1000' returned 504 ("Gateway Time-out")
>
> The information is here but I do not know which ones are fine and
> which ones are failing.  If an option like "--raw" (or "--plain" or
> "--exhaustive" or "--name-it" :-)) could display the status of all the
> 66 packages, then I think it would ease the detection of the
> regresion.  For example,

You can use ‘--display-missing’:

--8<---------------cut here---------------start------------->8---
$ guix weather --display-missing $(guix package -I |cut -f1)
computing 295 package derivations for x86_64-linux...
looking for 365 store items on https://ci.guix.gnu.org...
updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
https://ci.guix.gnu.org
  95.6% substitutes available (349 out of 365)
  at least 2,341.0 MiB of nars (compressed)
  3,865.8 MiB on disk (uncompressed)
  0.061 seconds per request (22.3 seconds in total)
  16.3 requests per second
  'https://ci.guix.gnu.org/api/queue?nr=1000' returned 504 ("Gateway Time-out")

Substitutes are missing for the following items:
  /gnu/store/0yjlganb3rw7jp1vw8hbpbbqf1myhmr2-sysstat-12.4.0
  /gnu/store/qnqny5gj6qrg5z1sa4wkcs6858mysvn4-emacs-strace-mode-0.0.2-1.6a69b4b
  /gnu/store/dnlli1380xpz0n939qhfn0kydm2sfpmc-emacs-gitpatch-0.5.1
  /gnu/store/h47f9hrg0d0dshqhk6s3nha0bzy0ihvd-emacs-recutils-1.8
  […]
--8<---------------cut here---------------end--------------->8---

But then that doesn’t allow you to distinguish between failed builds,
things that are not built yet, and “dependency-failed” builds.

‘guix publish’ could perhaps somehow expose failed builds.  And then we
could improve ‘guix weather’ to find about failed dependencies (sort of
like ‘-c’ does actually).

> then it is doable to have a shell script parsing this output and I can
> feed "git bisect".  Somehow.

Yeah, somehow.  :-)

Ludo’.


  reply	other threads:[~2020-10-13 14:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-07 15:39 Continuous integration - automatic EMAIL Danny Milosavljevic
2020-10-07 15:52 ` Mathieu Othacehe
2020-10-12 12:06   ` Ludovic Courtès
2020-10-12 19:12     ` zimoun
2020-10-13 13:59       ` Ludovic Courtès [this message]
2020-10-07 22:20 ` raingloom

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=87k0vui5vg.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=othacehe@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /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).