From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YENwLfytvGHJGAAAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 16:34:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0PMwKfytvGH5fwAA1q6Kng (envelope-from ) for ; Fri, 17 Dec 2021 15:34:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7973AD7EA for ; Fri, 17 Dec 2021 16:34:20 +0100 (CET) Received: from localhost ([::1]:39604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myFFT-0001W6-Em for larch@yhetil.org; Fri, 17 Dec 2021 10:34:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myFFD-0001Vv-5N for bug-guix@gnu.org; Fri, 17 Dec 2021 10:34:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57134) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myFFC-00052N-Tg for bug-guix@gnu.org; Fri, 17 Dec 2021 10:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myFFC-0001Rj-GH for bug-guix@gnu.org; Fri, 17 Dec 2021 10:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#24496: offloading should fall back to local build after n tries Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 Dec 2021 15:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24496 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Received: via spool by 24496-submit@debbugs.gnu.org id=B24496.16397552395550 (code B ref 24496); Fri, 17 Dec 2021 15:34:02 +0000 Received: (at 24496) by debbugs.gnu.org; 17 Dec 2021 15:33:59 +0000 Received: from localhost ([127.0.0.1]:40447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myFF8-0001RS-SD for submit@debbugs.gnu.org; Fri, 17 Dec 2021 10:33:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myFF7-0001RE-3I for 24496@debbugs.gnu.org; Fri, 17 Dec 2021 10:33:57 -0500 Received: from [2001:470:142:3::e] (port=50734 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myFF0-00051r-B2; Fri, 17 Dec 2021 10:33:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=DKgqktBBZ1nlyknqH8Xnc7cvP1OEaieT3zWjem+gaXI=; b=l0go/6mPKb25TgJk2LQ3 Fi4sWOw0b9f5xLAKzv96FdUPRZ86KKCew93xhB1/AKGWMGlsqkXAvDICOX5c67EHLJt+SZEK94nMy sZ1nUTlrnerztjsOshLHpMpk0hDfKL1JQM+5KtUzk4Pk3i+cziLoW3n+9bBVpOGnL8842hNakU5CL Y4UsrO+UJDe7SJAmo39t0ND/EoWAwYnw6gc1bVCBNkap2fRew7lix5hHLIuPFGWg85O65jJy4tw2a CvSKVnbDihZvePzgUhzGW6HLykv/Hnwq7ydv8RE9bG7NcFwWLx0FfaDuz9tlYywtyPvyOne+Uk8iL ofAJRZ8P19aTpg==; Received: from [193.50.110.211] (port=43476 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myFEz-0001pX-2T; Fri, 17 Dec 2021 10:33:49 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <8760ppr3q3.fsf@we.make.ritual.n0.is> <87r387nhjg.fsf@gnu.org> <868rwkiuf5.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 Frimaire an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 17 Dec 2021 16:33:46 +0100 In-Reply-To: <868rwkiuf5.fsf@gmail.com> (zimoun's message of "Thu, 16 Dec 2021 13:52:14 +0100") Message-ID: <878rwjqm91.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 24496@debbugs.gnu.org, Maxim Cournoyer , ng0 Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639755260; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DKgqktBBZ1nlyknqH8Xnc7cvP1OEaieT3zWjem+gaXI=; b=onz3iCmnkeE1xaHQHFKzS5Hggj9HsZSZ59hBZmbS5QnClwp/4j7UvGE6QZ/nqDfTHsRgRw zH8xFbZvkuMGo9cTDDUjmhn/VYbEjksQiVNIYyf33P4tkLWUAvQS+usZMsGXfoT+Otv/Qg 4pca9p0eR8LAgsCZMl7KmMixLWVt5A9SotrATNQUBzTJtJeVitAC2gZowQofnTdKTrhIbo Jgnv5ZjD7AS9OKG+1zqtH2m8fLIbyJdp2ZOtcUcecY1y2siT0lVMP/7J306x/TfPw8DoJo 8LrE4n9ihiloFo+veShnN6KR1xYiZpIkle0ZKHbprZEcgjv91+gECg50YJFxEw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639755260; a=rsa-sha256; cv=none; b=lCPS3H58C/8QgX6B7qqw1pY/bDr+NXNTLaXMbA4+j4z/iTs3Dwjq284n/gly0Dk/OGyWFl lHCX2xy5VKWcuaYJnvOA9o2bA2NSjGqu5LJgPnWLo6VkXjA4zDhrE+g8rXnmij518zJw6U yNFGvidDCZexKz34t58YsNWZ9LvLGoatBpFWRaLO2t5NrOunqr6LZD8KEikpa0/D38TWz2 KMqHTNZGgnq5+idgCiWPdFpRGv4tx1LjrQ02QJVfUOu1Q4IhOO12U7hmCpP3xHMEddipQ2 +AAO2AzeBUj4MYOjp+TwZ0WZ+nNKcfoTKBVT0lHXIAhjkY0anZIaaT80IniTAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="l0go/6mP"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="l0go/6mP"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7973AD7EA X-Spam-Score: -2.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: Z2z+QIdvml6A Hi! zimoun skribis: > I am just hitting this old bug#24496 [1]. > > On Mon, 26 Sep 2016 at 18:20, ludo@gnu.org (Ludovic Court=C3=A8s) wrote: >> ng0 skribis: >> >>> When I forgot that my build machine is offline and I did not pass >>> --no-build-hook, the offloading keeps trying forever until I had to >>> cancel the build, boot the build-machine and started the build again. > > [...] > >> Like you say, on Hydra-style setup this could be a problem: the >> front-end machine may have --max-jobs=3D0, meaning that it cannot perform >> builds on its own. >> >> So I guess we would need a command-line option to select a different >> behavior. I=E2=80=99m not sure how to do that because =E2=80=98guix off= load=E2=80=99 is >> =E2=80=9Chidden=E2=80=9D behind =E2=80=98guix-daemon=E2=80=99, so there= =E2=80=99s no obvious place for such an >> option. > > When the build machine used to offload is offline and the master daemon > is --max-jobs=3D0, I expect X tries (leading to timeout) and then just > fails with a hint, where X is defined by user. WDYT? > > >> In the meantime, you could also hack up your machines.scm: it would >> return a list where unreachable machines have been filtered out. > > Maybe, this could be done by =E2=80=9Cguix offload=E2=80=9D. Prior to commit efbf5fdd01817ea75de369e3dd2761a85f8f7dd5, this was the case: an unreachable machine would have =E2=80=98machine-load=E2=80=99 retu= rn +inf.0, and so it would be discarded from the list of candidates. However, I think this behavior was unintentionally lost in efbf5fdd01817ea75de369e3dd2761a85f8f7dd5. Maxim, WDYT? Thanks, Ludo=E2=80=99.