From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qMbaBoOqj2Y1OAEA62LTzQ:P1 (envelope-from ) for ; Thu, 11 Jul 2024 09:48:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id qMbaBoOqj2Y1OAEA62LTzQ (envelope-from ) for ; Thu, 11 Jul 2024 11:48:51 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=cEZkqFb9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720691331; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=nlJJj3bgKqG8FKiw5CADQ9g/1yC5bzAIVlSVjdBXTZ8=; b=UUiDUJ/rKmxgWKsOt3tI6pmH08m9vCskFaQsH9+/J1d0E+BI68XrV7FCEAtwpG/h++IUIK 0VkIoPlEAWl6ffjjy3tqaQHiqFWJvkSmy/iNma+3PAARFu+XNF66tcklqNsOTazmFzinIy bsnuWXlkEX6EELL/aGTfMdSRqIczquS7t6qIyTZzEpo8FbcrFWtweZCegABuagsICh7tKJ vetH4feQTpaNAMtXVZBS/5yX78YLlRQrr3omAckoJ1MCIpVxu/gXQM7ZypNnfGDY+rmn2t bvofsNbPllsHbe46sk3MIH7EswE6XU2YqK1Ygzb/CZ3ckZld8tHg+X0xsYPXdA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720691331; a=rsa-sha256; cv=none; b=ofYCCFkCMw1c2HuG1ICk4pG/VRbChx+O5jC+n+BG3vyKn6c4y7jEkW0rIIT3ChLGwH7US3 QEHc2oHZm2tv8XtE/+YR8xi6uhOGsbwy6lznpyZWuHOUhcZxNi6MRUNwn+91bup8isSkn+ BJFz4STyP6Wt9UA0QDWOWCjPJ/ouR3KG5z/OlGamAizKmehnYgBErO71ov+PPMjnHQPVl3 gDqJK0xfDwjIdT7IZBdjVv1GQry26vT5Xpd5dsVqjlQjxtiQG+ZRtki2RwpoLJYP97oLgS TtL6XLNtAeAqKU3I77G+6mHfox/j1e0AK0rWKzkbAdEHOJAlbj5f6PTxF+0ohQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=cEZkqFb9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" 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 08410765BE for ; Thu, 11 Jul 2024 11:48:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRqPR-0003cJ-B9; Thu, 11 Jul 2024 05:48:17 -0400 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 1sRqPP-0003bu-K7 for guix-devel@gnu.org; Thu, 11 Jul 2024 05:48:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRqPO-0002uJ-Tz; Thu, 11 Jul 2024 05:48:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=nlJJj3bgKqG8FKiw5CADQ9g/1yC5bzAIVlSVjdBXTZ8=; b=cEZkqFb9BsP7nWZyMLAB RjHLh0ksY/N6RFadFSZG0sycUxM2a8DmOmde3yHZv0EU6hy/qpXbr9ioBuvJEzaIRPJ/JvMPOQoMQ SQJA31oS7EWbMjd/B5DY7asHI2dEel3sRv+HzDZ9WXVd0+cEAlrT6Xfy2yj74rHAKwHDIsEHW1T3A 0V679ccriAlYca4xJv8JMWQh4OxKwH7/YbOeH5Fog04OBSo1ktr+OEggo0+YsbqMupCzBxGLLehJ1 wp+TYj+2Gxqlyc726sFQkVG+/D1L5QvgC0MHtqyRxDOLTa8yJgmYIlNvI4PmPcdcn57Nl9qsk2/41 L5rBPT4pf+lphw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Sergio Pastor =?utf-8?Q?P=C3=A9rez?= Cc: guix-devel@gnu.org Subject: Re: Should we document how to detect if build machines are reachable before trying to offload? In-Reply-To: ("Sergio Pastor =?utf-8?Q?P=C3=A9rez=22's?= message of "Thu, 04 Jul 2024 17:45:29 +0200") References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 24 Messidor an 232 de la =?utf-8?Q?R=C3=A9v?= =?utf-8?Q?olution=2C?= jour de =?utf-8?Q?l'Orcan=C3=A8te?= 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: Thu, 11 Jul 2024 11:48:10 +0200 Message-ID: <87plrk2rad.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.15 X-Spam-Score: -7.15 X-Migadu-Queue-Id: 08410765BE X-Migadu-Scanner: mx11.migadu.com X-TUID: PPveYak9d6+/ Hello! Sergio Pastor P=C3=A9rez skribis: > I recently discovered that offloading builds to remote machines[1], > hangs when the machines are not available; instead of defaulting to > building locally[2]. This forces the user to use the `--no-offload` > flag. Do you remember exactly under what circumstances it hangs? I think =E2=80=98guix offload=E2=80=99 should handle that situation gracefully and = we should fix it if it does not. Right now, it sets an initial connection timeout of 30s, which is quite long but turned out to be necessary (see =E2=80=98open-ssh-session=E2=80=99= in (guix scripts offload)). Thanks, Ludo=E2=80=99.