From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 sG5/DKmQTWM2VwAAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 19:28:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IAiUDKmQTWPSLgEA9RJhRA (envelope-from ) for ; Mon, 17 Oct 2022 19:28:09 +0200 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 D86EC28D7D for ; Mon, 17 Oct 2022 19:28:08 +0200 (CEST) Received: from localhost ([::1]:40580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okTuJ-0001Wt-T1 for larch@yhetil.org; Mon, 17 Oct 2022 13:28:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okTuE-0001S5-Ao for bug-guix@gnu.org; Mon, 17 Oct 2022 13:28:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50811) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okTuE-0001dc-1G for bug-guix@gnu.org; Mon, 17 Oct 2022 13:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okTuD-0000or-TG for bug-guix@gnu.org; Mon, 17 Oct 2022 13:28:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58290: guile ssh error on guix deploy Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 17 Oct 2022 17:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58290 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Andrew Tropin Cc: 58290@debbugs.gnu.org Received: via spool by 58290-submit@debbugs.gnu.org id=B58290.16660276623090 (code B ref 58290); Mon, 17 Oct 2022 17:28:01 +0000 Received: (at 58290) by debbugs.gnu.org; 17 Oct 2022 17:27:42 +0000 Received: from localhost ([127.0.0.1]:49877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okTtt-0000nl-Vc for submit@debbugs.gnu.org; Mon, 17 Oct 2022 13:27:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okTtr-0000nU-8O for 58290@debbugs.gnu.org; Mon, 17 Oct 2022 13:27:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42420) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okTtk-0001X8-5Y; Mon, 17 Oct 2022 13:27:33 -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=kWjzZj6hhE50E2FReOAgVfHfVvGSplAXy0dSWiBL3mk=; b=DYxLDX2MwVykO+KMjFzc xLJY2gD8M8Z5GM629aKstCzVS7cstq5mAz59k37KPjpgAP53Qh/tPjVfwhIkod1gK5BoTDmSvYlKM YPLpDrMVJ4Km1gY3HucbiiWo8vwSK1S60HYxD+G4Eam6EjK92xiTiUIe5edjW39bQiAaOtqARk3GF bzXoBm8eXCp03KGTia++BAMKFsmWnrzblYWljrLcC5QoMTwEpXeQXsCeAA2c9aeZm6Y0TsnINUOsA Vaxg5xnWyYfgpZqBwJX2Y7wefzSvW2CezwtCz9Dd6iyBqPLQ/J06N02r42lsiqi94rxQGfgXq4iFD L0KT7ABvHfhjQg==; Received: from [84.211.203.64] (port=55724 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okTtb-000418-9y; Mon, 17 Oct 2022 13:27:27 -0400 From: Marius Bakke In-Reply-To: <8735bmsee9.fsf@gnu.org> References: <87sfk34zhj.fsf@trop.in> <87bkqm8p5z.fsf@gnu.org> <87o7uec39j.fsf@trop.in> <8735bmsee9.fsf@gnu.org> Date: Mon, 17 Oct 2022 19:27:20 +0200 Message-ID: <87h702uzrb.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666027689; 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=kWjzZj6hhE50E2FReOAgVfHfVvGSplAXy0dSWiBL3mk=; b=MMZGxyP4o3igm6ZGdAVUkFB4ORp6jzhNfJA4UTbD/upfgN+KrE+0vj6ZwaiYEG8Bjz1aGc Ycb+Lv5M2cEN8f3rawyL93VTfXgZSUPLSNSegbXhmgcVuplvMo6zibvp6ApZE+wg2K2tLu BJ7STx41a+B5r9cCKBsdE2yrEy9ypVJT3OwpSkyNuJwTMzz/lk4VZ2wtiac7JjoiI6SDSb N2kjKn8jf5crwMhyKeHdfqYySGtsuGfkseMN1x8ZHpPyfj0QJyLSbjVTQ77qHlTH6ixVML 5KJkAUYNm585QA8OYmzGPkG/lnMhdIARFlZAQUx3CzqZtBonFOlYfyE9YcirZw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666027689; a=rsa-sha256; cv=none; b=OxNgaLJkahm+66jGN/gdmiLYMn/sgWIocp8wCnpoV9eV2UMJM4yLpykRplTkoFEQyGL7lZ ja26aYfAJ3qHUBFJmCfbnNVtVmdraN/nBW+wNAjCgA33H3HTdMwZmkca0VODocpx4beXuX 6DFCQFpUBfpGwHLoc3rRDtneNv4Q13vHWd4EfBbow8arvKIw28DtlIjMJpf6Fw1SZL9/p+ H8FYLDNEjVVnotIMNkKJFn80h9fXTU8MDKPVIYKNJRAzVgxSiWNzPM1Tz2Ia0Dx753cM2I hwUY2uvmqIbgS/WJhPmqYCwHTZU+Z960MLrrE3BCccSuG3mShjn11SMmXJxkrw== 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=DYxLDX2M; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -5.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=DYxLDX2M; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: D86EC28D7D X-Spam-Score: -5.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: Cn6an2zvM1ID --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s skriver: > Hi, > > Andrew Tropin skribis: > >>>> ice-9/boot-9.scm:1685:16: In procedure raise-exception: >>>> Throw to key `guile-ssh-error' with args `("channel-open-session" "Cha= nnel opening failure: channel 67 error (2) open failed" # #f)'. >>> >>> Are there any hints from sshd in the /var/log/messages of that machine >>> as to why the connection was closed? >> >> bob@pinky /var/log$ zcat messages.1.gz | grep "Oct 4" | grep ssh > > It=E2=80=99s hard (if not impossible) to see which lines correspond to th= e error > above. :-) > > Could try to reproduce the bug, and have =E2=80=98tail -f /var/log/messag= es=E2=80=99 > running on the server side so you can capture just the right lines? > /var/log/debug might be interesting too. I have the same problem. Log messages around failure look something like this (extracted from above message): Oct 4 11:51:49 localhost shepherd[1]: Service sshd-2 has been started.=20 Oct 4 11:51:50 localhost sshd[250]: Accepted publickey for bob from 185.= 70.53.164 port 1915 ssh2: RSA SHA256:/X3jyhyMizAOKOjCfXK5cLN3Pa0vmi7dbQG+fx= K3d3Y Oct 4 11:52:28 localhost sshd[252]: error: no more sessions Oct 4 11:52:28 localhost shepherd[1]: 1 connection still in use after ss= hd-2 termination.=20 Oct 4 11:52:28 localhost shepherd[1]: Service sshd-2 has been disabled.= =20 Then deploy crashes with 'Channel opening failure'. Due to the number of SSH connections made by deploy and frequent occurence of this problem, I was not able to successfully deploy through many attempts. I found that removing the memoizing open-machine-ssh-session* in (gnu machine ssh) works around it and can happily deploy again. (that is, just use 'open-machine-ssh-session' instead) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEARYKAC0WIQRNTknu3zbaMQ2ddzTocYulkRQQdwUCY02QeA8cbWFyaXVzQGdu dS5vcmcACgkQ6HGLpZEUEHfSOwEAvIflhP7SIu4QVTzDTPeVj5tf4c5yKWUkCqzT Fp5bbZ0BAOkXwYDz1lmBlIJzRzZ7TAErhs3EXLvyUbqh/eBliEEF =BIX7 -----END PGP SIGNATURE----- --=-=-=--