From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#38232: Cuirass: Some builds fail although their log file ends with 'build-succeeded' Date: Mon, 18 Nov 2019 21:22:20 +0100 Message-ID: <87blt9gcjn.fsf@gnu.org> References: <87y2wfptj5.fsf@lassieur.org> <87y2wei4cn.fsf@gnu.org> <877e3xjevh.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]:55940) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWnY7-0002Jc-Fg for bug-guix@gnu.org; Mon, 18 Nov 2019 15:23:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWnY6-0003yI-EM for bug-guix@gnu.org; Mon, 18 Nov 2019 15:23:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37480) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iWnY6-0003yC-Bc for bug-guix@gnu.org; Mon, 18 Nov 2019 15:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iWnY6-00035E-5G for bug-guix@gnu.org; Mon, 18 Nov 2019 15:23:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <877e3xjevh.fsf@lassieur.org> ("=?UTF-8?Q?Cl=C3=A9ment?= Lassieur"'s message of "Mon, 18 Nov 2019 18:03:46 +0100") 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: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Cc: 38232@debbugs.gnu.org Hello, Cl=C3=A9ment Lassieur skribis: >> Perhaps the build failed (transient failure or something) but was >> eventually restarted either as a dependency of some other build or >> manually on berlin. In that case Cuirass may be unaware that the build >> eventually succeeded, hence the discrepancy. > > Thank you for the explanation. Would it make sense to copy the log file > to some other place when the build is done? The web interface would > fetch it there, and we would be sure it matches the associated Cuirass > build. Build logs are kept by guix-daemon under /var/log/guix/drvs. They are indexed by derivation, meaning that there can be only one log per derivation. This is a limitation in cases where builds are retried. Initially Mathieu Lirzin thought about keeping logs elsewhere so we could distinguish between several attempts to build a derivation. However, that=E2=80=99s kind of redundant with what the daemon does, and not frequen= tly useful. Now, it is indeed useful in some cases, so we could do something like you describe. Thanks, Ludo=E2=80=99.