From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +JYtNB3p8mNlHgEAbAwnHQ (envelope-from ) for ; Mon, 20 Feb 2023 04:29:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id INxXMx3p8mPmkAAAG6o9tA (envelope-from ) for ; Mon, 20 Feb 2023 04:29:33 +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 7D46B33398 for ; Mon, 20 Feb 2023 04:29:33 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=WdSwj09n; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676863773; a=rsa-sha256; cv=none; b=Un4voa/VNRwjk3L7I/cfZYkEgQ4nWoK9dwiN0j2vWTS1S8znlnYuZvenlS7jJC1N1P97IQ 0HFemMzlNR9m3j+fboIEb1LnWGaLjqhXRZ5PU2ypIGXKnNIHGuKCze1zPWjB9LYfrlRPAP u1SUKbIFbAaDQhlphncnPirswT77sRcifBPVhivXb/UwDvd9AdNEdsn/hBXORoGnNdxO9b g3UNd2CrQlcGv25XsAQ1Y25qcJC6QysY4L+fgyRXalWONFXh9oG6ADgaB6fAVxnnmo7lWN 6aHs9+jEKX4Azc+qh9i1lgrxkIqOywbQQwLZgWCAbNnSZ2EwgrZGyy20oWZ71Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=WdSwj09n; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676863773; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=LI0fE7Bf+doI3tBCHTg+/C1kBe/HdJSeHgGdQpfYv54=; b=QcjWLYmulWZGzL1EVNUbSktphM/cRSqKymkV6BiqrYpzDGlTEFU0+AJmeryBVF29Nw454K 0g2hhzoQRBQvtJNMsu5R4T4owh6AC8q24wge3u3WSO49yzcej7i+h+NdZ/zbHBvC579STv 0mhMgZmaYdd736v3yitk61wcBerYk+g/xgTbh2BnimTtprS8DkZqwMEerptNgUmzAPvZP4 QjSWjEMA6p6laCia8TWSMnsUzkfAUU/EcJkaHi6RlFBAz9G06bfznsVR2cFZJGlDxVyBnu O/WLEdGriyl5X1Kx5ceAzqy+qNy23F1wlWLK+MVcwh0mVpEQxP9la2Q6HiwwhQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTwrQ-0006X2-Dl; Sun, 19 Feb 2023 22:29:04 -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 1pTwrP-0006Wo-86 for bug-guix@gnu.org; Sun, 19 Feb 2023 22:29: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 1pTwrO-0007m4-K6 for bug-guix@gnu.org; Sun, 19 Feb 2023 22:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pTwrO-0000Yp-Ff for bug-guix@gnu.org; Sun, 19 Feb 2023 22:29:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61646: Bandwidth-induced offload timeout abort whole operating Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 20 Feb 2023 03:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61646 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 61646@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.16768637132114 (code B ref -1); Mon, 20 Feb 2023 03:29:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Feb 2023 03:28:33 +0000 Received: from localhost ([127.0.0.1]:50110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTwqu-0000Y1-RE for submit@debbugs.gnu.org; Sun, 19 Feb 2023 22:28:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:56166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTwqt-0000Xu-Az for submit@debbugs.gnu.org; Sun, 19 Feb 2023 22:28:31 -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 1pTwqt-0006V7-5c for bug-guix@gnu.org; Sun, 19 Feb 2023 22:28:31 -0500 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTwqr-0007kA-Kh for bug-guix@gnu.org; Sun, 19 Feb 2023 22:28:30 -0500 Received: by mail-qt1-x830.google.com with SMTP id f2so1135078qtj.2 for ; Sun, 19 Feb 2023 19:28:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=LI0fE7Bf+doI3tBCHTg+/C1kBe/HdJSeHgGdQpfYv54=; b=WdSwj09n1+bc2ntuwicMc8mtRpFEqQss5BfUVnHOsrwA+u5k+9hcux76iaT5F+xzjq +dtj2E272d3hVeYkKlPU54Dz3xc9EjomwFF2KFQX+YFFyiInZIic3TS8EO/XgSx758Vd Tp59NvEzQAPtwRRO+GxDiT9KOkNS7oXfZVXI5vBmWFwNnIMOeaem86bXEI2u48OBub7r xyhzV6EICUdASQKjJwxbe0d/LPByKb0N8G2QlG+6OD2qtJ3N6gx8knFL3UvNIVSw1JT9 fpVmRC0IXU0v5s/B2LRJ03F+sV836uv1kwwWkCXMclaZb1APxB0d6yVGkcFDUV0VAu3c olzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=LI0fE7Bf+doI3tBCHTg+/C1kBe/HdJSeHgGdQpfYv54=; b=A6NOIbVU7Op8MGeMpe5d39Quk+cVKDrJlYJp8az7/G7cmuofGRFSOySg0AoMoyomuq mzLcrDl7Zv/x/exHa+Wr9KPzIKIR95Db+4D28VW9iXchGCw1av9jPWUWWdFhIU0BeTxi ZuPu1PhGRkdy3nhdUgtvm6LYYMr7zlQBNgnlCXrUijtGqxWktGgQz9FHHaKTlOsCC9/K Ju/8fH+yxAW5KClcY4Nmv2eT/PkOcO0Xy9+QWfvksEiNQ0sNnwtwXZWw31Z2Kk/+Y/La Ps4790x9hKQl4kZ/L7UrveMlGdmNJpb4CEHRC2bZvzWPrB2oYOj6Cr/ZqOTmlLAQ4q50 VvOg== X-Gm-Message-State: AO0yUKUzxfv2GIUdT80SLk8JF1NmZt4nlBQlVJDsUDbV7QrSlDUemaoR mdBJPG/sho/aC8UxXH2ymsf3nSBsigvd6A== X-Google-Smtp-Source: AK7set/O6K02xfgHeXJbsxbfpQzlI1apzyquafhEcdQGH3/T6iMnRsa9hFFkvvJnJYxLvg+e95QhSw== X-Received: by 2002:a05:622a:1787:b0:3b9:a4be:fc4a with SMTP id s7-20020a05622a178700b003b9a4befc4amr180260qtk.14.1676863708354; Sun, 19 Feb 2023 19:28:28 -0800 (PST) Received: from hurd (dsl-158-213.b2b2c.ca. [66.158.158.213]) by smtp.gmail.com with ESMTPSA id p4-20020a05622a00c400b003b68d445654sm8185265qtw.91.2023.02.19.19.28.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Feb 2023 19:28:27 -0800 (PST) From: Maxim Cournoyer Date: Sun, 19 Feb 2023 22:28:16 -0500 Message-ID: <87ilfxm2wf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::830; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x830.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 autolearn=ham autolearn_force=no X-Spam_action: no action 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: 7D46B33398 X-Spam-Score: -2.24 X-Migadu-Spam-Score: -2.24 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: Rg2X3tXkbg7E Hi Guix, I can reproduce this rather easily on my system: --8<---------------cut here---------------start------------->8--- $ ./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-icedove-102.7.2.drv': 1 dependencies couldn't be built guix build: error: build of `/gnu/store/l6r93asndd0kwv7024iyrl71zd0lbpbq-icedove-102.7.2.drv' failed --8<---------------cut here---------------end--------------->8--- 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. The workaround is to use '-k', for "--keep-continuing", and retry the 3rd failing derivation after the first two completed. I don't have a clear idea on how to improve the situation other than use longer timeouts... but perhaps these timeouts could be dynamic based on the load of the network/CPU/ ? -- Thanks, Maxim