From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cDvyKkno92MZzwAAbAwnHQ (envelope-from ) for ; Thu, 23 Feb 2023 23:27:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4MgOKkno92NYAAEAG6o9tA (envelope-from ) for ; Thu, 23 Feb 2023 23:27:21 +0100 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 728CA2246A for ; Thu, 23 Feb 2023 23:27:21 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=kmAkq912; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677191241; a=rsa-sha256; cv=none; b=JWNUkLsrERppZ6liULTKBsCRy9khO/s3to28GEFioXsWM24LysAkKD3TzTWHpbY3vW6vlB lLr8jomzoAVImtgsXqdvva/nmvP1Pf2vs8DPjZbuZFvs2cXRzPeQK/Ia5MaZcIFd+naczb 5rCfSHk+RkfDpK+l9ZcxCK+2Z5gDGR9m80IrpFynJ7Lun+erpKPn0UskhYKlyaVymgcIb2 hBHykRk6k2dZWxQjLHzbt5d6KxRXYIuppO+P/oHAum+6RE4ze+RLNToTQabNpbXYq/+DBC n2s53jqiCeNMOSQLTpoMzcR3fBKc888Zk6rUzXG3Z6yVM/4LrQsYEQolacNXXw== 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=kmAkq912; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677191241; 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: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=vyoVMlqf5dpWFo1EBF1z8a6DyCtgeheqy1RKTLEssAY=; b=svKaPEmY5l39zcZmS6QmwdAb/q/PG3K/HpDjrk9+isARDBvx9tr5JbRQDZypBKerldVpm/ /fOYNN5AMOIBvcRTPglx994OJvVL5A3z8pla7XopU2pt4krYYvFET+RIvNWFSl72xddXCC Btb6SiqZBSRYGSjFUhWNFJr3pJy46a858Ajcq4SfSkbdyGnoQXEpE7fAjqxHBUreoXl44n iJb3JUkg7BwZ2DjWGuXGA41qDoRQBUmekdOrt/gRN19/L0qynMa0DP6gcALq/BCjvB1N+5 CcI2KgAyqlpfJjPEFfV1pIyTpCXo7Wp+GdQZCwfpvbYrmkOj1VMcUnnYkgtcNw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVK3O-00082Q-RC; Thu, 23 Feb 2023 17:27:06 -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 1pVK3L-00081k-0U for bug-guix@gnu.org; Thu, 23 Feb 2023 17:27:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVK3K-00016K-3u for bug-guix@gnu.org; Thu, 23 Feb 2023 17:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVK3K-0005Uf-09 for bug-guix@gnu.org; Thu, 23 Feb 2023 17:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61646: Bandwidth-induced offload timeout abort whole operating Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 23 Feb 2023 22:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61646 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 61646@debbugs.gnu.org Received: via spool by 61646-submit@debbugs.gnu.org id=B61646.167719119321072 (code B ref 61646); Thu, 23 Feb 2023 22:27:01 +0000 Received: (at 61646) by debbugs.gnu.org; 23 Feb 2023 22:26:33 +0000 Received: from localhost ([127.0.0.1]:35517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVK2r-0005To-0Z for submit@debbugs.gnu.org; Thu, 23 Feb 2023 17:26:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVK2p-0005Tb-PJ for 61646@debbugs.gnu.org; Thu, 23 Feb 2023 17:26:32 -0500 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 1pVK2j-0000qt-Pc; Thu, 23 Feb 2023 17:26:26 -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=vyoVMlqf5dpWFo1EBF1z8a6DyCtgeheqy1RKTLEssAY=; b=kmAkq912WPJ8ToH2tt8B qQlNYkOvkT0C269gZ1jV0oePNnoKYgr1uOIx2uUGCW3FtCRPAfCMOqYjjc9o6IOywhqDBMtM3xF1j o5flnNwA/XuXvWuZ4MsFiG2dscq1YXjeeHPGkBvNhdlgbFOZihyJYGla0kSqnivdgscA3lEViLpUe h9enwMnQwmGVP+7WrmMUzXmu7fJydxwkhUAs4dWKhLOsMP3YxgbfVQlmqk7rO2mZcM9JeFbeU+weh LHGr6232fsy7RDvsP9XOEPPzW5c/9+u5tDxfxzW+4WrE20S7xylSePjjiR0XzUpGa52GKAiNwPruF 5lTlfppx4UKOGQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVK2j-00006y-Cy; Thu, 23 Feb 2023 17:26:25 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87ilfxm2wf.fsf@gmail.com> Date: Thu, 23 Feb 2023 23:26:22 +0100 In-Reply-To: <87ilfxm2wf.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 19 Feb 2023 22:28:16 -0500") Message-ID: <87wn483to1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: X-Migadu-Queue-Id: 728CA2246A X-Spam-Score: -4.27 X-Migadu-Spam-Score: -4.27 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: SwGWLE4JWuF4 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Maxim, Maxim Cournoyer skribis: > I can reproduce this rather easily on my system: > > $ ./pre-inst-env guix build icedove > The following derivations will be built: > /gnu/store/l6r93asndd0kwv7024iyrl71zd0lbpbq-icedove-102.7.2.drv > /gnu/store/8zi808086b3vlfjrhdm87fgljziwdqx2-icedove-l10n-102.7.2.drv > /gnu/store/v0sq7rb8fk36kjasb27a71z1a27wxb1s-icedove-minimal-102.7.2.drv > process 19542 acquired build slot '/var/guix/offload/localhost:6666/0' > normalized load on machine 'localhost' is 0.08 > building /gnu/store/8zi808086b3vlfjrhdm87fgljziwdqx2-icedove-l10n-102.7.2= .drv... > process 19548 acquired build slot '/var/guix/offload/localhost:6666/1' > normalized load on machine 'localhost' is 0.08 > building /gnu/store/v0sq7rb8fk36kjasb27a71z1a27wxb1s-icedove-minimal-102.= 7.2.drv... > guix offload: sending 1 store item (558 MiB) to 'localhost'... > exporting path `/gnu/store/bwb5hcdyzgq16kmbsva7ax0zq6lzg78z-icedove-102.7= .2.tar.xz' > guix offload: error: failed to connect to 'localhost': Timeout connecting= to localhost > cannot build derivation `/gnu/store/l6r93asndd0kwv7024iyrl71zd0lbpbq-iced= ove-102.7.2.drv': 1 dependencies couldn't be built > guix build: error: build of > `/gnu/store/l6r93asndd0kwv7024iyrl71zd0lbpbq-icedove-102.7.2.drv' failed > > The third derivation tries to get a build slot and times out, because > the first two have already saturated the bandwidth of the link and it > takes more time than expected to get a reply. Weird. Since the it=E2=80=99s a timeout while connecting, I suppose the pa= tch below would improve the situation: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/guix/scripts/offload.scm b/guix/scripts/offload.scm index 578b3b9888..90cf97401c 100644 --- a/guix/scripts/offload.scm +++ b/guix/scripts/offload.scm @@ -220,7 +220,7 @@ (define* (open-ssh-session machine #:optional max-silent-time) (session (make-session #:user (build-machine-user machine) #:host (build-machine-name machine) #:port (build-machine-port machine) - #:timeout 10 ;initial timeout (seconds) + #:timeout 30 ;initial timeout (seconds) ;; #:log-verbosity 'protocol #:identity (build-machine-private-key machine) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 DQpXRFlUPw0KDQpMdWRv4oCZLg0K --=-=-=--