From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Subject: bug#38550: Cuirass: in job-name: replace 'version' with 'anchor' Date: Mon, 09 Dec 2019 18:24:57 +0100 Message-ID: <87muc1l8d2.fsf@lassieur.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49326) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieMnL-00025A-Ir for bug-guix@gnu.org; Mon, 09 Dec 2019 12:26:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieMnK-0007rk-EO for bug-guix@gnu.org; Mon, 09 Dec 2019 12:26:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48411) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ieMnK-0007rY-AK for bug-guix@gnu.org; Mon, 09 Dec 2019 12:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ieMnK-0001Cl-7u for bug-guix@gnu.org; Mon, 09 Dec 2019 12:26:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:49085) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieMmM-0001Z8-4s for bug-guix@gnu.org; Mon, 09 Dec 2019 12:25:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieMmK-0006vD-TP for bug-guix@gnu.org; Mon, 09 Dec 2019 12:25:01 -0500 Received: from mail-wr1-f42.google.com ([209.85.221.42]:39640) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ieMmK-0006s0-Nj for bug-guix@gnu.org; Mon, 09 Dec 2019 12:25:00 -0500 Received: by mail-wr1-f42.google.com with SMTP id y11so17095408wrt.6 for ; Mon, 09 Dec 2019 09:25:00 -0800 (PST) Received: from rodion ([2a01:e35:8bf7:6530:656e:e8c9:456c:2930]) by smtp.gmail.com with ESMTPSA id x10sm153244wrv.60.2019.12.09.09.24.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2019 09:24:58 -0800 (PST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 38550@debbugs.gnu.org See IRC conversation[1]. The idea is that we want to be able to select all the builds that have the same job-name. Then we'll be able to see the first one that's failing and its associated evaluation (the culprit). We could use PACKAGES->ANCHORS[2], which was created for the website. Thus instead of having gajim-1.1.3.x86-64-linux <-fails gcc-7.4.x86_64-linux gcc-6.5.x86_64-linux gajim-1.1.3.x86-64-linux <-fails gcc-7.4.x86_64-linux gcc-6.5.x86_64-linux gajim-1.1.2.x86-64-linux <-fails gcc-7.3.x86_64-linux gcc-6.4.x86_64-linux gajim-1.1.2.x86-64-linux <-OK gcc-7.3.x86_64-linux gcc-6.4.x86_64-linux We'd have gajim.x86-64-linux <-fails gcc.x86_64-linux gcc-6.5.x86_64-linux gajim.x86-64-linux <-fails gcc.x86_64-linux gcc-6.5.x86_64-linux gajim.x86-64-linux <-fails gcc.x86_64-linux gcc-6.4.x86_64-linux gajim.x86-64-linux <-OK gcc.x86_64-linux gcc-6.4.x86_64-linux And we could track the first failing Gajim (or GCC). Each of the above column really represents a package definition tracked in time. GCC 7 and GCC 6 are two different packages at a given moment in time, so they should have different job names. Note that it doesn't work with packages for which we keep an old version around if that version changes (e.g. from GCC 6.4 to GCC 6.5 in my example). But I imagine it's pretty rare. Don't know. This work is to be done in (gnu ci). Comments welcome :) Cl=C3=A9ment [1]: http://logs.guix.gnu.org/guix/2019-12-09.log#171227 [2]: https://git.savannah.gnu.org/cgit/guix/guix-artwork.git/commit/?id=3D4= 97145ef95cfc7548eb7c406d6227104f4b66700