From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#39387: Builds are *not* offloaded when using the "--keep-failed" or -K option. Date: Wed, 05 Feb 2020 23:55:19 -0500 Message-ID: <87sgjomi14.fsf@gmail.com> References: <87o8uhr3gx.fsf@gmail.com> <87y2tkzxyh.fsf@gnu.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]:43655) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izZCt-0008QV-7P for bug-guix@gnu.org; Wed, 05 Feb 2020 23:56:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izZCr-0002Ay-Vw for bug-guix@gnu.org; Wed, 05 Feb 2020 23:56:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41021) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izZCr-0002AB-Rx for bug-guix@gnu.org; Wed, 05 Feb 2020 23:56:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1izZCr-0002Th-Q0 for bug-guix@gnu.org; Wed, 05 Feb 2020 23:56:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87y2tkzxyh.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 02 Feb 2020 18:43:50 +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-mx.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 39387@debbugs.gnu.org Hello! Ludovic Court=C3=A8s writes: > Hi Maxim, > > Maxim Cournoyer skribis: > >> In the second case, the build is started on the local machine instead of >> being dispatched to the offload machine. Presumably, this is done so >> that the files are available locally; but I'd prefer if it'd offload and >> keep the files on the remote. An alternative would be to copy the remot= e build directory >> locally after failure. > > Indeed, it=E2=80=99s a feature! :-) It was discussed here: > > https://issues.guix.gnu.org/issue/38312 > > There we discussed the possibility of printing a warning, which wasn=E2= =80=99t > implemented. I see! > I=E2=80=99m closing in the meantime, but let me know what you think! OK! I think I now see the technical difficulties in implementing a useful, offloaded interrupted build: the build artifacts, even if copied locally, would require syncing all the build time dependencies in order to allow sourcing the "environment-variables" script and be able to debug. That's more the job of 'guix publish', not of 'guix offload'. Maxim