From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mNcWM1iIr2BaXQEAgWs5BA (envelope-from ) for ; Thu, 27 May 2021 13:54:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iE/WLliIr2DVDwAAB5/wlQ (envelope-from ) for ; Thu, 27 May 2021 11:54:00 +0000 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 2BE44218A5 for ; Thu, 27 May 2021 13:54:00 +0200 (CEST) Received: from localhost ([::1]:54140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmEaM-00014T-RZ for larch@yhetil.org; Thu, 27 May 2021 07:53:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmEYU-0000gK-3b for bug-guix@gnu.org; Thu, 27 May 2021 07:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39215) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmEYT-0006Em-Pe for bug-guix@gnu.org; Thu, 27 May 2021 07:52:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lmEYT-00054f-Lf for bug-guix@gnu.org; Thu, 27 May 2021 07:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41625: [PATCH v2] offload: Handle a possible EOF response from read-repl-response. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 27 May 2021 11:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41625 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marius Bakke Received: via spool by 41625-submit@debbugs.gnu.org id=B41625.162211627119443 (code B ref 41625); Thu, 27 May 2021 11:52:01 +0000 Received: (at 41625) by debbugs.gnu.org; 27 May 2021 11:51:11 +0000 Received: from localhost ([127.0.0.1]:50761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmEXf-00053X-38 for submit@debbugs.gnu.org; Thu, 27 May 2021 07:51:11 -0400 Received: from mail-qk1-f179.google.com ([209.85.222.179]:43801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmEXd-00053J-Jj for 41625@debbugs.gnu.org; Thu, 27 May 2021 07:51:09 -0400 Received: by mail-qk1-f179.google.com with SMTP id 124so258116qkh.10 for <41625@debbugs.gnu.org>; Thu, 27 May 2021 04:51:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=85I684wp2+MN0718mnOBQgsKSFIZrYJTHhNGDJhejE8=; b=PKmNiWdtM4pbSxNzj3BgxIHbrV4zrcsCVJMFaHYXBVdf+mrkCAqDI5LNPnt+lzQoYb PyAuEfnTTlaLsjq3h8PsTRL1i0ho3v1vJAXOCdMF+SegDTXIoi25hS5tA3Pgi3a6EmaQ cK/sh4ucD9ybliuYZqWGXqOUiJJVVU2WFsObaVxa8i77O/B5Al1aNH6EB2QepNpE0WzM uiHmUB2uL/Z2+ou3e39bnj09z2+k/L1x1RZCwD7kQoFCBkCSlGxtqmu+l834W2acyGFh PE2l0F/lIG/cTjlzZCiTRf4glTponhNKxz09SY27bbhc94/TywBsHG9T8wFSeZQWlHaB PozA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=85I684wp2+MN0718mnOBQgsKSFIZrYJTHhNGDJhejE8=; b=bXytHUDN9K7WNy17zXYQsBhKk9VSiXB5P8K2XiraIiH1DuaamygIBbbeact2m4odgd WM8q0Dnh7cVsyN6VtukhcRWIqmOnuuLFJfFMByr3G0Q0g5PNYakzfQC/fwqscKpxps/z 5YrqvyOBxATovG1JyUqgTMcV1xg/5YEzFPE0Zps3ASpEW3ICQFF1m7BI2miPVx+JZ4Xe 4HW7QR4nqVcCumYLMGvIWNPEdHEJWV2yQvzIHcvrkgAmUhqJtzbpUF3yzMXXei4MRFn0 4szsM8UdYADmMqfGVRP5IHCW/e04s+UiAM73pXbQLQopCqEkkx/ji8/NNgBoFzfliAcd ufdQ== X-Gm-Message-State: AOAM5322F+yE6WNPF3f/pjvxuSwDCD50k48XuG6JI3tGs8TiTGQEjPBC P6kFO5q12+zjd5hh6tYwYE6FQ6kJzhI= X-Google-Smtp-Source: ABdhPJx99Dsw6H/+WEHzBHLTbo7mmFYClqxauBRB4nyl6grdQdYapJVqAefMH0lNwSq5L+ibDPqZ/A== X-Received: by 2002:a05:620a:210e:: with SMTP id l14mr3024074qkl.1.1622116263988; Thu, 27 May 2021 04:51:03 -0700 (PDT) Received: from hurd (dsl-152-121.b2b2c.ca. [66.158.152.121]) by smtp.gmail.com with ESMTPSA id s11sm1176406qti.6.2021.05.27.04.51.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 04:51:02 -0700 (PDT) From: Maxim Cournoyer References: <87mtsky9um.fsf@gmail.com> <20210525155003.27590-1-maxim.cournoyer@gmail.com> <875yz61rvt.fsf@gnu.org> <87mtsikwsm.fsf_-_@gmail.com> <87h7ipa433.fsf@gnu.org> Date: Thu, 27 May 2021 07:51:01 -0400 In-Reply-To: <87h7ipa433.fsf@gnu.org> (Marius Bakke's message of "Wed, 26 May 2021 17:48:32 +0200") Message-ID: <8735u8l7iy.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: List-Help: List-Subscribe: , Cc: 41625@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622116440; 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: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=85I684wp2+MN0718mnOBQgsKSFIZrYJTHhNGDJhejE8=; b=qnwo2/poov72ss7tuna2jvnug+nc2pLEVEzrMQa/8P4KgKwvQGvj84Chm0zIPXBZRL9VtB 1rCyZi13PxZaeX/wTUFtq+UpvrTpXnpr8QtOBh4DTNRJ7QlY7zaxt8jKUzFMMOHxonNqmv GAz9dq2R3e3N277roKIDuQqrZS7Z/OudAhBJzPjHf7kfE2pd7wJMKh5Ue1TPBM4NS7ziq/ FP18nZkUxnz8L/7ZwUKE3HukQWOYiTj6NqmPE+Bef8ZrQ5Xhf5vNV/inrgp6XyfchXeOg0 GrVj8xEzcrOqhHXEiCbFv5om0Py1Tmn5aVNZ7+oz371Bn/+TMIfAA+rKSKUYFw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622116440; a=rsa-sha256; cv=none; b=dJTKVdcU44v3z0iirIG9pQrq1rEzk+o+yYbFDkACgR1z9vGQe+LFY5lagukJ/vv5xFvvzB mHWaSESkPmQzN5Wpm7+wDthnk9rnTQPtudu+z1e74LnaxaaZUVFi3GtbQFtKIHgGfM4eWf QhKVXNLlFB/TTZWlF1A/s8yyIzAAaWofTgmTHZphHq6ye+MlCLvmSBVQ9m5KSigIHoDBT+ U6KRMmQSwwRDqOKbpI55feOrlswCHVOIL9yvqvRBDtUNhjJykZKzCxeN3Lvgn6wVmhId/e EnDExTqFKHWlMNjD3hPdrKWAVyGzQXPjIibtVDLi9TYQuTFuDq4KBT2bfokc8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=PKmNiWdt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=PKmNiWdt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 2BE44218A5 X-Spam-Score: -1.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: h53ZVm6s26S1 Hi Marius, Marius Bakke writes: > Maxim Cournoyer skriver: > >>> Is running =E2=80=98guix offload test /etc/guix/machines.scm overdrive1= =E2=80=99 on >>> berlin enough to reproduce the issue? If so, we could monitor/strace >>> sshd on overdrive1 to get a better understanding of what=E2=80=99s goin= g on. >> >> It's actually difficult to trigger it; it seems to happen mostly on the >> first try after a long time without connecting to the machine; on the >> 2nd and later tries, everything is smooth. Waiting a few minutes is not >> enough to re-trigger the problem. >> >> I've managed to see the problem a few lucky times with: >> >> --8<---------------cut here---------------start------------->8--- >> while true; do guix offload test /etc/guix/machines.scm overdrive1; done >> --8<---------------cut here---------------end--------------->8--- > > I used to be able to reproduce it by inducing a high load on the target > machine and just let Guix keep trying to connect. But now I did that, > and set overload threshold to 0.0 for good measure, and Guix has been > waiting patiently for two hours without failure. > > So AFAICT this bug has been fixed. Perhaps Berlin or the Overdrive > simply needs to be updated? Ah! Do you have root access to overdrive1? It'd be interesting to reconfigure it to update the guix-daemon and see if the problem vanishes. Thanks for the information! Maxim