From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wAfeDu44u2F82gAAgWs5BA (envelope-from ) for ; Thu, 16 Dec 2021 14:02:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8LNbCu44u2HyXwAAbx9fmQ (envelope-from ) for ; Thu, 16 Dec 2021 13:02:38 +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 F0B0425642 for ; Thu, 16 Dec 2021 14:02:37 +0100 (CET) Received: from localhost ([::1]:44004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxqP6-0000wu-6Y for larch@yhetil.org; Thu, 16 Dec 2021 08:02:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxqOZ-0000t3-35 for bug-guix@gnu.org; Thu, 16 Dec 2021 08:02:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51615) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxqOX-00032H-Kh for bug-guix@gnu.org; Thu, 16 Dec 2021 08:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxqOX-0006SQ-KJ for bug-guix@gnu.org; Thu, 16 Dec 2021 08:02:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#24496: offloading should fall back to local build after n tries Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 16 Dec 2021 13:02:01 +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: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Received: via spool by 24496-submit@debbugs.gnu.org id=B24496.163965971824811 (code B ref 24496); Thu, 16 Dec 2021 13:02:01 +0000 Received: (at 24496) by debbugs.gnu.org; 16 Dec 2021 13:01:58 +0000 Received: from localhost ([127.0.0.1]:34928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxqOT-0006S6-IZ for submit@debbugs.gnu.org; Thu, 16 Dec 2021 08:01:58 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:50824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxqOR-0006Rt-6y for 24496@debbugs.gnu.org; Thu, 16 Dec 2021 08:01:55 -0500 Received: by mail-wm1-f53.google.com with SMTP id b73so3407629wmd.0 for <24496@debbugs.gnu.org>; Thu, 16 Dec 2021 05:01:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=0de+Rd5rou7k59jgL47noiSwLyfEtWE+eXI/Zwhj3ww=; b=H4qYdqj/wDvWB+k47xkzPGS5dDPej6Qx9MmimEGBZjyjLNR2tnl+02X7uf9CGmL2fz usurrAnKHo/3TPmSYgD1H7tbvH4r476U2NEiiInCIKEYXtD+MrvRAFRYgHN2HGuL2GCe n+xhVOCOX1qrVvLwCh6V8gkJQTZNNFO74Zip1eW4L5DsFdFsZmuSVKrfRk+TSTNpLGAp ulaT5p7HnnRkyaboSkn0lZGOX2MMupmHuBhSP2/fpsgxc0QzpAuutoOL3kBNHRwX/vn4 ZQF3N3ibfoHvvE5oAawo63F6E9hjoXfF4Fo8xqakQBa9I3MMzzql0SGFE2ZMv2dvFHS6 6oPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=0de+Rd5rou7k59jgL47noiSwLyfEtWE+eXI/Zwhj3ww=; b=uaCr2v/AKS2qTP9xsJZGJIR74ALCbcEF5Ll3rYHav3AB2+zG5jNbyZLS/wbcu1TDPa cVnSbn2huc+PK4fK7yqB8/Z7fgEU4P4k2Ovj3t0cXWph6tRfIA8FTbZ5FJTMXOaaFaS5 mapP6hHvBAXOlbhQ7XWa8Edjfx9zer4CMz1k8Dwy0IBnuOLSna5Oo4iqTiL0wPCwN+bG iE+XGsLmPXvZDuPW8FsJDvey+D1kK/ZpamJg0T1BdLP3+6kP1B3l2+urDAQmfZ7xNQH+ 8dc14kypayl/JBqXnTk5uBVu2xZj76IVHnSGPNJ2CuSnxAA7+uv6YX8wbsGxZZxS4C6o JLDw== X-Gm-Message-State: AOAM532UUSnqvkc/Ww/H94ZpPZJ10P+2ql9PuUVtgD5Fx7HDdpAkpUJK +zxQakJ2SIinaTJ5c4RpXFyeUBX8AGg= X-Google-Smtp-Source: ABdhPJymijOG7fUiCS7nl3dC5U9QRZTUs/su2HuHFwyX9yWmOj3iSIxiF+ryOa9PqiRQqjsKiz6XEw== X-Received: by 2002:a05:600c:b42:: with SMTP id k2mr4868501wmr.6.1639659709373; Thu, 16 Dec 2021 05:01:49 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z17sm1272537wmi.22.2021.12.16.05.01.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 05:01:49 -0800 (PST) From: zimoun References: <8760ppr3q3.fsf@we.make.ritual.n0.is> <87r387nhjg.fsf@gnu.org> Date: Thu, 16 Dec 2021 13:52:14 +0100 In-Reply-To: <87r387nhjg.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 26 Sep 2016 18:20:51 +0900") Message-ID: <868rwkiuf5.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (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, 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=1639659758; 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=0de+Rd5rou7k59jgL47noiSwLyfEtWE+eXI/Zwhj3ww=; b=DyjZ9CrBMUmHSwQuUAVIxUtYQ7Zr21iZQFiJ5UyW2Ucn7stsg3v8oobs/+qfQhxd56RsLb AbcS039TC4s21kWPXzDaLtgBQ0AUHpPDjhRgPgHUywvq4Y0NazSNosvKkz0gHid/9/o8M/ ajAARSdAgGSLaVwt7tJQ+brd/2rgQY8HkfxOf/BRx4w2Lf50zfEMAyOnbAX7A9pRTM3mwW t3h6YKTOZ034QS89C5n+yJ54CQ2smmRr7pgm3eh9I/8fKD4sEoYYZMQ3MpKFnt12CT5R6p 3Rd4yfRR1uX2VxYcUsKsQiOEMX+DIszVz2rowBqJKITY9DKvSlMt09LvnehLSw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639659758; a=rsa-sha256; cv=none; b=u48vP4lb+U0ZqwFg1hgSUCNmIPocFpz1P5zCSo6HjRs5dOAQ9CmP7yo/CcWFhMoVv9rIq9 JeH2fWe6lS/Uuww3CcwjKoECQS9awF8ZrHfWFGozFi+kCDNV6J2bCw0VLpAmMgfYs6NsTX 6LcT9EavW1ln3ansr5R98HHV0WSuLrAgM3VtHL9Me4k3pTfNXkW1yE0CsnDSzS14U903hC JZQXtHjceN2szXdezd+U6jbfOcEyEuzTXpEOmGP8yT/reRxANbh4DTDQva107yMCWl3tDS /knTa+rbGufisU+LSsg2KVkYvJH7GtLfn3TRYoK3g5fdKhqB1xN/SASzCs+weA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="H4qYdqj/"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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.89 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="H4qYdqj/"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: F0B0425642 X-Spam-Score: -2.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4LfgAIAZdP/b Hi, 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 offl= oad=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. Cheers, simon 1: