From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IBdxB5wWg2VVvAAAkFu2QA (envelope-from ) for ; Wed, 20 Dec 2023 17:30:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id mDR+AJwWg2WkfAEAe85BDQ (envelope-from ) for ; Wed, 20 Dec 2023 17:30:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=aVtnTw4F; 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=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703089819; 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=RwwxQfPk+zfWOgBkN4hx0wRxTQRib103TadhycKZu9c=; b=Hd/YJM9lGvc0MjDviu3kphJyCD1pGe48y8yAlwijBLi3MyGT42KmUxYfw4ZtObHv9OQOBA b3pBoKlZj3GpFS+OJeM3IEjBo0oBnlBDxKgvGAk0Ll99XVgLyOW+sdSR/jOTdlkKqktgRd TyysBT0N9cp3cRA7CAZHWWpps1KqKGHWygl970Q3JO2Dg62mE0vSA+icea+rKaXBTBa//b bAr3H6LRd8LRAIxNS3bGK8jDJJ1FCqTUGbOI9npGxydHP4pMg+1Lv8rCY/6hELG7hfEP00 shpLMG6g8wxw74AV+jRTAuZx96lVEtioF5Lbs1vapZ92bOD/qMMPmos6bO4SVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=aVtnTw4F; 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=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703089819; a=rsa-sha256; cv=none; b=JLAAm8kGbuEBRAbtP59gKWNwhVC+Nc6hIuCRFFzps6hQnj/VCXLfJ0+AwGP2p9LEEQZN/3 3akgKFugEM9j7sq3FZbZQGF+t3pgqv2bpkEgMArbOATQUJ95wlkwoXpvzMfz+FImefae1U DWKjWmTiuf+uybPBS1snM+/n8SNnXDnPshUuu2mLOnM9kdUwo28rNdx/+kub/mQLJsdNkb sF6w0j79fZV8SAJ82l3Ot40wEH/lqQyZvHMVHCgGnrnHMTCba6W6dXoPQQcveYvTlu406J 4BqunTnxGcURFjJTaWoaA8i7hIXfMTS6nRq78Os/Z+vv+Z1e+PMRqjCAH4f/DA== 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 06F503B216 for ; Wed, 20 Dec 2023 17:30:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFzRx-0007bs-Cn; Wed, 20 Dec 2023 11:29:37 -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 1rFzRs-0007M2-UU for help-guix@gnu.org; Wed, 20 Dec 2023 11:29:35 -0500 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rFzRn-0005M4-OL for help-guix@gnu.org; Wed, 20 Dec 2023 11:29:30 -0500 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2cc6ea4452cso47030191fa.1 for ; Wed, 20 Dec 2023 08:29:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703089765; x=1703694565; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=RwwxQfPk+zfWOgBkN4hx0wRxTQRib103TadhycKZu9c=; b=aVtnTw4Fl2jk9NoarpH/Yzj5sVxUoNM3/nSgRzdhwiL4rNPDx5GVS3hqRip5OS/lX3 Slj113aQ+bK4B8sKgo2O2Sc4xyTCOGxf5SJrGnvhfcXPTp7rF7ICqPd/Bmg60ZBy0115 Kkf9SVXsqabXdiWi7DUFRaUBYniHiRdnrRxjWEvQHn4WCMvtPxDEdrwM8wlXZhlmgYC5 t1gLvLqhdVrDtPRSDqG2kulVJvHVRippe95h10K5s8RaRVSvh/h2+nUhbGjOHJpkKHDH cJBQYY0SFm/QSAEZ8sfi99ldyUZ+22ba87qfByROkfQdh9B8wRUBSVlX2/WHAtJLVesi BifQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703089765; x=1703694565; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RwwxQfPk+zfWOgBkN4hx0wRxTQRib103TadhycKZu9c=; b=vU/X63M8zh/VKKBJF/EhDsI08nBJQYdWjUOinM2GDMRHCZEQ1NmQfjBcWFMT1kEEVU 3ubRfEvMDh3G15/MV8fME6T7Kj9t8aluXCPxzsa68/dv+4m4Pk9ynsOlkYp3OhWvz+Cm TsmqKBSLcdbxX3Sd+oKLlTtYERSUO83isoP1M/LSIxuSps/wuSmvZq5OB1AkFSsAjkIh gtaSGRlT8ewIJw1w40ualO8jJNbrMHBWRFcOdkzvjST7bNMDt+NIVr5M1xCYcGXgLZSb 9/RVtgzd15Ni9rBMeEZmxe+Gkly9Wa+K8INVxiVTK2Uck0pSFJyOVM4CWvKKvXKwr24o eP/w== X-Gm-Message-State: AOJu0YwkOugIUkcyXnZ0xUnPORv0gaLxQqbV028OcI/uR9naIqpV1ite TwCDM5aS82ta7HvaAoTvMR7xtds/iuU= X-Google-Smtp-Source: AGHT+IFcOpjmCwXPTCTPHJp5RDbwFFfqPXezwpx/QdXy7sk0txt/+QRoQAseOwRbmo/Tt4StuDYbOA== X-Received: by 2002:a05:6512:68e:b0:50e:584d:a2a0 with SMTP id t14-20020a056512068e00b0050e584da2a0mr320730lfe.21.1703089764774; Wed, 20 Dec 2023 08:29:24 -0800 (PST) Received: from localhost ([176.59.17.109]) by smtp.gmail.com with ESMTPSA id s28-20020a056512203c00b0050e2a596c94sm3385lfs.180.2023.12.20.08.29.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 08:29:24 -0800 (PST) From: Aleksandr Vityazev To: Saku Laesvuori Cc: help-guix@gnu.org Subject: Re: guix offload In-Reply-To: (Saku Laesvuori's message of "Wed, 20 Dec 2023 17:19:42 +0200") References: <87o7el9lx8.fsf@gmail.com> Date: Wed, 20 Dec 2023 19:29:22 +0300 Message-ID: <87ttoc3kil.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::232; envelope-from=avityazew@gmail.com; helo=mail-lj1-x232.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.69 X-Spam-Score: -6.69 X-Migadu-Queue-Id: 06F503B216 X-TUID: 3SXFhSyNe1Fh On 2023-12-20 17:19, Saku Laesvuori wrote: >> Hello. >> >> I have a configured build machine. From time to time it is not available >> and guix build gets stuck in an endless loop of: >> >> guix offload: error: failed to connect to : No route to host >> process 13902 acquired build slot >> guix offload: error: failed to connect to : No route to host >> process 13902 acquired build slot >> >> 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"))))))) > ``` Thanks, it works well. -- Best regards, Aleksandr Vityazev