From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id rmw1INU6q2CSkQAAgWs5BA (envelope-from ) for ; Mon, 24 May 2021 07:34:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iPRxG9U6q2C0HgAA1q6Kng (envelope-from ) for ; Mon, 24 May 2021 05:34:13 +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 0008214F56 for ; Mon, 24 May 2021 07:34:11 +0200 (CEST) Received: from localhost ([::1]:42358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ll3E9-0002Ya-A4 for larch@yhetil.org; Mon, 24 May 2021 01:34:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ll3E2-0002YQ-Oc for bug-guix@gnu.org; Mon, 24 May 2021 01:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ll3E2-0002IE-He for bug-guix@gnu.org; Mon, 24 May 2021 01:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ll3E2-0005Vt-EE for bug-guix@gnu.org; Mon, 24 May 2021 01:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41625: Sporadic guix-offload crashes due to EOF errors Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 24 May 2021 05:34:02 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 41625-submit@debbugs.gnu.org id=B41625.162183441121150 (code B ref 41625); Mon, 24 May 2021 05:34:02 +0000 Received: (at 41625) by debbugs.gnu.org; 24 May 2021 05:33:31 +0000 Received: from localhost ([127.0.0.1]:42125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ll3DX-0005V4-8o for submit@debbugs.gnu.org; Mon, 24 May 2021 01:33:31 -0400 Received: from mail-qt1-f182.google.com ([209.85.160.182]:38692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ll3DV-0005Up-2A for 41625@debbugs.gnu.org; Mon, 24 May 2021 01:33:30 -0400 Received: by mail-qt1-f182.google.com with SMTP id h21so19869714qtu.5 for <41625@debbugs.gnu.org>; Sun, 23 May 2021 22:33:29 -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=U1ly1TeQ+zCZBZUa9RRdnf+1wzye9sSYEQ4BTzp8kDc=; b=IrEs2/lQZbLokftQ9G4cL1324LhqMu3dsvvtdGnthcswaaq4CUEA0JxuOew3fN0D7Z iV/HUlEZPGfsZTJh73dGz0wpx0Iu4ibvgrsS1Pgqt6Tlj8tzRS4HYZ61QU9MWahMWAAY dLlElC28DmrjCAWj8eqHtERcfHFvip8FEmbH+L10k1V0ssmx8vy/eGgw34qopYnjWByw +J7s3zWUFx8jXXzjCJuTkOLV52dwvGZURmGVDCL31rBOgcwiMpJJHVWmP/sBl4+cfjzE 5uRrDFxvkQETwfBE7VMXfKzHXQFsvB3OD3khQ3MMm41zr+KiIm06QL4cS5I25TZlV1+T QSmQ== 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=U1ly1TeQ+zCZBZUa9RRdnf+1wzye9sSYEQ4BTzp8kDc=; b=MhMtfaWEsfZ0sf1LNR6qd2HW0BXue/RZNC3S0Y1E0OGoTsgSGC0CbjPkM6uD9M4cnE 8PoEh/iTqjnE2MGV8+irEL69DBYPOqTZuo8oquR6o0LfdxEdZE/oGquhLsV/OaiceZV8 ow0CUKZKzdEQr0qag5Xn8YvhiDJncGxa/2tmx1VCyIj2kcyKOTfIlFpAnGdy+Q9HBsTR RNi93ShY3OYxa2lRUJjSKhEcE3G8xrhgic5/xPbeFJNnRL4WNE8gp8x2kgYnRP6aCHwt Vx+FkkaTVOJnIzn7UVKDB0gn57MvGuJ5aQhH557HM7uNwHFL60NTf8Lr7d0kkc0a7pB5 VC1g== X-Gm-Message-State: AOAM5317Bmt7Cn26XKRwKU9o3m0ManG1vaEleMJpeF1AuTxuVpqESr0B LLqNFcrxxatrVsZR5UxKjfisWk7PITo= X-Google-Smtp-Source: ABdhPJxau+Ey+11H0jMnTq72pfpYoVO4V7pg3F+Qt81Z8uF/sTHQuwGS7LsQLWp7zMuCpOFOLE8Qww== X-Received: by 2002:ac8:5314:: with SMTP id t20mr25195999qtn.68.1621834403355; Sun, 23 May 2021 22:33:23 -0700 (PDT) Received: from hurd (dsl-205-236-230-178.b2b2c.ca. [205.236.230.178]) by smtp.gmail.com with ESMTPSA id 145sm10559005qko.89.2021.05.23.22.33.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 May 2021 22:33:22 -0700 (PDT) From: Maxim Cournoyer References: <87mu5owhxh.fsf@gnu.org> <87k10swgyy.fsf@gnu.org> <87h7vwwdrs.fsf@gnu.org> <87a71jc9yi.fsf@gnu.org> Date: Mon, 24 May 2021 01:33:21 -0400 In-Reply-To: <87a71jc9yi.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 04 Jun 2020 14:05:41 +0200") Message-ID: <87mtsky9um.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=1621834452; 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=U1ly1TeQ+zCZBZUa9RRdnf+1wzye9sSYEQ4BTzp8kDc=; b=uedIZRCZe3yKTqMA4aCqt3zh6RzoI6oKk0Wt+kEj7MmIqIYe4Pf0C901WOlHgKkreZj8ui OZ4jOt4dcCLFkJcyf5nvNbsNBwDtrVtOd/GKEaNllSvMEwxXG2RwX+QSBYPPsDktxjlG0l FwVEuZ3iVmTS+5Q2doiAP+rRGyVMFlXG0utZ9HStDIonQ2aLL8nlsKFEudISDI/0MqL3qr hiQa7SY11Ivh//cliiEKkNSHZAeWq+Y1YOtkAjJBp00y/7zix8cf6YueN0zLj6txfNAMqX 9MGJ1iloD/riliWXqNd92HpFaG1fbyaI3rQORM7em9p15ukXxet6zCi5Nl05wQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621834452; a=rsa-sha256; cv=none; b=HWLZDwNoYNjg4HfSMR0kM6Ux2Fjd/zss5lm50mCpv/TEpaEiRGdTYxWSpUZ8KLHjccthHI RrSV2kuZTxWVPaRB7YBDHlTIgX53R3WEU15MWf3V2I7kGcVJ7tkLDp2SNC1a8oQzD8gazX pw9q21gTii7W3B96LLeGAgfYUlmy/dWTV3ThqRp0TpxZFa1IbXisSnmtuNMLylJjjuiUYl qg5+nxi0TqhzleTXPvv/X+qwTsmpDiVTSfMWZEGkDi9FodbwocnggLfKLa9EXSNan0p1HE PRZ8w3WXo2QZPBiKuBID8q7VFGdeK3NP88kJqmLVVlajjIsN0rsYxG/AGfwk7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="IrEs2/lQ"; 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: 0.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="IrEs2/lQ"; 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: 0008214F56 X-Spam-Score: 0.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: X1FQlWBY07xV Hi, Ludovic Court=C3=A8s writes: > Hi, > > Marius Bakke skribis: > >> Marius Bakke writes: >> >>> 'guix offload test' passes without problems. >> >> Not so fast, running it in a loop reveals the crash. >> >> There is a trace file in /root/offloadtest.trace on Berlin with such an >> occurence. It looks like a timeout is reached shortly before the EOF >> error: >> >> 10139 poll([{fd=3D14, events=3DPOLLIN|POLLOUT}], 1, 0) =3D 1 ([{fd=3D14,= revents=3DPOLLOUT}]) >> 10139 poll([{fd=3D14, events=3DPOLLIN}], 1, 15000) =3D 0 (Timeout) >> 10139 write(2, "Backtrace:\n", 11) =3D 11 >> >> This seems to be from a different node than the one reported previously, >> as the preceding connect() was to this machine: >> >> 10139 connect(44, {sa_family=3DAF_INET, sin_port=3Dhtons(22), >> sin_addr=3Dinet_addr("141.80.167.186")}, 16) =3D -1 EINPROGRESS >> (Operation now in progress) > > So it looks like =E2=80=98connect=E2=80=99 fails and eventually we get an= EOF object. > However, I don=E2=80=99t see where that EOF comes from because the return= value > of =E2=80=98connect!=E2=80=99 (the Guile-SSH procedure) is properly check= ed. > > Ludo=E2=80=99. I got a slightly different backtrace that suggests making the connection is not at fault, rather it occurs during the read-repl-response call: --8<---------------cut here---------------start------------->8--- guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'.= .. Backtrace: 8 (primitive-load "/home/maxim/.config/guix/current/bin/guix") In guix/ui.scm: 2165:12 7 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 6 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) 1747:15 5 (with-exception-handler # _ # _ # =E2=80=A6) In guix/scripts/offload.scm: 704:21 4 (check-machine-availability _ _) In srfi/srfi-1.scm: 586:17 3 (map1 (#)) In guix/inferior.scm: 258:2 2 (port->inferior _ _) 240:2 1 (read-repl-response _ _) In ice-9/boot-9.scm: 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Throw to key `match-error' with args `("match" "no matching pattern" #= )'. --8<---------------cut here---------------end--------------->8--- I seem to get this more often than not with the overdrive1 offload machine. Maxim