From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8Is3H0AGg2XMZgAAkFu2QA (envelope-from ) for ; Wed, 20 Dec 2023 16:20:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id yG8/GkAGg2Xz3gAA62LTzQ (envelope-from ) for ; Wed, 20 Dec 2023 16:20:32 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b=fUiTcdOV; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=laesvuori.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703085632; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ya5QE9vksPtttrXEmzoO5zvJ3bIDijr5d8x40en66Sg=; b=tai5y9llyx+mbxT1aNFUgqZM+NWCEDKd3hLEZqk4gIHkh3qk8/m/14mUHGk/8ity2X0m/i pPDCyj8SBnBXM0PDpMAnuBvnRPrmpijkHqaKKUWNgm/uYyXhBldtBHnQUCzwQNx3aBSNJu b9H648mI9ELKgDGWMbGk4eMoag+tvJO/L0pYfs3OF8RrrmDr1zU4vSWDBgMoclHKA/SW7E X/7r44K8g9NqYprlaZI9B4Lt5FapbnwjaVP+3myYszctyL89m+A0OvCNag7N2TJTQXgKPF O0azeC4GWNtrvuTDHSnIGXeiOrQ2URR5Fk9pz3F6D850V0D04ZF4V8YrP0i0lA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b=fUiTcdOV; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=laesvuori.fi ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703085632; a=rsa-sha256; cv=none; b=GhWzw/j8vf9XfsHjoM6BcjIJtcjeTIe6Q2/+RmJB8Ocr7/b17gm3MaRWRtO7bvvWGpAxZw TdP+HS0SITwIUCFNfp4Tz7/WnIunEEUKaPFAtqj5bWd6QJBwLcQFbePY5r0K0ZvI/hy6tJ 5xJ5+A6Eh6Wbf5yDfL0n3mf6HG/x9GOT36W8D3ugMMvJvL6a/KrDXlh1nfS1mX289pmHg/ xYGb/MKtniylOzx2pbPUcM2Yb2+nPKTSPHaQCOum4PZJZFx/51npGyfdQcKEwuPwcZ5Btp Z0t1q/P7O2MZDUAch7lfv2PhMiK+/zVC7BXBo5rdYHvRgNaJJbhsoMcew6VIUw== 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 B114033126 for ; Wed, 20 Dec 2023 16:20:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFyMc-0000u2-Pj; Wed, 20 Dec 2023 10:20:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rFyMR-0000sP-CZ for help-guix@gnu.org; Wed, 20 Dec 2023 10:19:52 -0500 Received: from vmi571514.contaboserver.net ([75.119.130.101] helo=mail.laesvuori.fi) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rFyMP-0006ni-1n for help-guix@gnu.org; Wed, 20 Dec 2023 10:19:51 -0500 Received: from X-kone (unknown [185.50.245.19]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 84F32342FF6; Wed, 20 Dec 2023 16:19:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1703085594; bh=5Pr8jEX/z4x0z861jxMkg6lnsfKCIjnDt1+iUWf80Y8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=fUiTcdOV3gAt7rJ/o6f+zp3G2ScZh1L75M3jsjXghXb4Tz2x5WNAfFhR7n6p43fDS z273h7FkkLUwBnf03DWTEm/VjLEalYiPZFX9GItUKrgwrBzMkhbMg8eYU5GVwGxazF LrqK5v9wm/dgqvpPAt4BjZQXmbXsFao+ccwnDlbk= Date: Wed, 20 Dec 2023 17:19:42 +0200 From: Saku Laesvuori To: Aleksandr Vityazev Cc: help-guix@gnu.org Subject: Re: guix offload Message-ID: References: <87o7el9lx8.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="al5himjfqk3ry255" Content-Disposition: inline In-Reply-To: <87o7el9lx8.fsf@gmail.com> Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@laesvuori.fi; helo=mail.laesvuori.fi X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -11.20 X-Spam-Score: -11.20 X-Migadu-Queue-Id: B114033126 X-Migadu-Scanner: mx10.migadu.com X-TUID: zDMa3iP0OjX5 --al5himjfqk3ry255 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Hello. >=20 > I have a configured build machine. From time to time it is not available > and guix build gets stuck in an endless loop of: >=20 > guix offload: error: failed to connect to : No route to host > process 13902 acquired build slot=20 > guix offload: error: failed to connect to : No route to host > process 13902 acquired build slot=20 >=20 > Is it possible to make the build continue locally after several > unsuccessful attempts? I don't think that is currently possible. You can, however, filter your build machines with a snippet like this in the operating system declaration[1]. This filters away hosts that are not resolvable, but you could adapt it to use some other predicate if needed. ``` (build-machines (list #~(let* ((resolvable? (lambda (machine) (false-if-exception (gethost (build-machine-name machine)))))) (filter resolvable? (list (build-machine (name "example.com") (systems '("x86_64-linux")) (host-key "xxxx") (user "offload"))))))) ``` If you don't use guix system you can implement the filter logic in /etc/guix/machines.scm. [1]: https://guix.gnu.org/manual/devel/en/guix.html#guix_002dconfiguration_= 002dbuild_002dmachines --al5himjfqk3ry255 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmWDBg4ACgkQJX0oSiod OjKewRAAuOZEbHt5zLF18PieuCSzsC1WhXh6g6Qg8HA8F8sBu80nPcZm/A4MSdZ5 0gbvVsqqtdFeCbaNo/BCRe7aOoV68cFA9TVpwYLX4wjJuIWJSbVMu6crSxSgi3fw reYsVhgqF8zyIlebQMxJWP5V6rSO24QoxdW9hk+xl4Y6qTRxZo8QICFy773ZCaJs RoHuYilc3SH4C5zwltOV/BMOk6fw4/hu6UbCOEGWyJTC3szIU4NCU4uni3CHYSYr RfKXWPVNM2auNZITniVZX6VhxsnGRfz4tMOtRgjOc56cBNxEZKnxYLzjmX8vSBYj WS1Xe7JQNrmjnO/97uFYqj4g1+Xtzkhvgvfdf4NNIchUZX+yEmwfAVoZ+oSmQAx9 mXSFFj9fp7lSQjXVZIL6BlGH9PJtgYpgps/u9FPaAIlEsSSnSePNC/H5HQVnZ6vg gDNbPrkGbVZycB+TSo6tnxFunpcvP++d0RIw1lTw+Nagpuy8jRzjGrEBxGHKSUz+ 8KNFH2l73abQAGqOFTVVes2Rt9WwvaxWUxywYlnWzmgQzPjOaP52IeTk0hrSZEz1 Ugx7cXIB5Lg8x/ktDhdIHioFdKz4olQTdRRjZ0ZApgIHOQHq5xq64RgR5Sg7ohch hNtqLYWYV2EYMtQt9A2OaIVUlwysI+SLOxeE5WKz8XV4Rjr5qSI= =kj5z -----END PGP SIGNATURE----- --al5himjfqk3ry255--