From unknown Fri Jun 20 18:22:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67629: [Cuirass] =?UTF-8?Q?=E2=80=98remote-server=E2=80=99?= wrecks havoc when misbehaving clients connect Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 04 Dec 2023 21:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67629 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 67629@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170172640723999 (code B ref -1); Mon, 04 Dec 2023 21:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Dec 2023 21:46:47 +0000 Received: from localhost ([127.0.0.1]:35942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAGm7-0006F0-4j for submit@debbugs.gnu.org; Mon, 04 Dec 2023 16:46:47 -0500 Received: from lists.gnu.org ([2001:470:142::17]:38722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAGm4-0006Ej-Qw for submit@debbugs.gnu.org; Mon, 04 Dec 2023 16:46:45 -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 1rAGlo-0007Ky-9K for bug-guix@gnu.org; Mon, 04 Dec 2023 16:46:28 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rAGlm-0006yf-5m for bug-guix@gnu.org; Mon, 04 Dec 2023 16:46:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=rgRPj5lDQYcWsXBm05ru53Id+HZeWK6THRM7YAVdj38=; b=WTFB8WrFoIMtkXmC9SCqwl4b9UZkMWCL9CxCUa3eFW77HbWFRxjuCZnk M2oUzpZS2zIiOQn+coUSqbDjPOUaIzRkhp/mcFLYP0QMhHjkvYiS762eC rjCGtEtMl+OhJCJwhnIt1D0CfN3VZpaO9sl+mWU7+In3Ge+14WLPwm5/X A=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.04,250,1695679200"; d="scan'208";a="73394551" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 22:46:22 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 14 Frimaire an 232 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Sapin X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 04 Dec 2023 22:46:21 +0100 Message-ID: <871qc1myj6.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.104; envelope-from=ludovic.courtes@inria.fr; helo=mail3-relais-sop.national.inria.fr 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) The =E2=80=98cuirass remote-server=E2=80=99 process goes awry when misbehav= ed clients connect; specifically, some of its fibers crash, leaving it running but inactive: --8<---------------cut here---------------start------------->8--- 2023-12-04 10:13:14 periodic update: 0 resumable, 0 failed builds 2023-12-04 10:13:28 error: Connection reset by peer when replying to xx.xx.= xx.254. 2023-12-04 10:13:42 error: invalid log received from xx.xx.xx.254 2023-12-04 10:13:42 error: EOF while receiving log from xx.xx.xx.254 2023-12-04 10:13:48 Uncaught exception in task: 2023-12-04 10:13:48 In fibers.scm: 2023-12-04 10:13:48 186:20 8 (_) 2023-12-04 10:13:48 145:21 7 (_) 2023-12-04 10:13:48 In ice-9/boot-9.scm: 2023-12-04 10:13:48 1752:10 6 (with-exception-handler _ _ #:unwind? _ #:= unwind-for-type _) 2023-12-04 10:13:48 In cuirass/scripts/remote-server.scm: 2023-12-04 10:13:48 695:11 5 (_) 2023-12-04 10:13:48 In ice-9/boot-9.scm: 2023-12-04 10:13:48 1747:15 4 (with-exception-handler # _ #:unwind? _ #:unwind-for-type _) 2023-12-04 10:13:48 In cuirass/scripts/remote-server.scm: 2023-12-04 10:13:48 437:23 3 (serve-build-requests _ #< getq: = # = #))> getq-gc-co unter: # putq: # putq-gc-counter: #>) 2023-12-04 10:13:48 In cuirass/remote.scm: 2023-12-04 10:13:48 466:6 2 (receive-message _ #:router? _) 2023-12-04 10:13:48 In ice-9/boot-9.scm: 2023-12-04 10:13:48 1685:16 1 (raise-exception _ #:continuable? _) 2023-12-04 10:13:48 1685:16 0 (raise-exception _ #:continuable? _) 2023-12-04 10:13:48 ice-9/boot-9.scm:1685:16: In procedure raise-exception: 2023-12-04 10:13:48 Throw to key `match-error' with args `("match" "no matc= hing pattern" (# # #))'. 2023-12-04 10:13:48 Uncaught exception in task: 2023-12-04 10:13:48 In fibers.scm: 2023-12-04 10:13:48 172:8 2 (_) 2023-12-04 10:13:48 In cuirass/notification.scm: 2023-12-04 10:13:48 162:15 1 (_) 2023-12-04 10:13:48 In ice-9/boot-9.scm: 2023-12-04 10:13:48 1685:16 0 (raise-exception _ #:continuable? _) 2023-12-04 10:13:48 ice-9/boot-9.scm:1685:16: In procedure raise-exception: 2023-12-04 10:13:48 Throw to key `psql-query-error' with args `(#f #f "no c= onnection to the server\n")'. 2023-12-04 10:14:06 0 items queued for eventual download 2023-12-04 10:14:07 Uncaught exception in task: 2023-12-04 10:14:07 In fibers.scm: 2023-12-04 10:14:07 172:8 2 (_) 2023-12-04 10:14:07 In cuirass/scripts/remote-server.scm: 2023-12-04 10:14:07 430:10 1 (_) 2023-12-04 10:14:07 In ice-9/boot-9.scm: 2023-12-04 10:14:07 1685:16 0 (raise-exception _ #:continuable? _) 2023-12-04 10:14:07 ice-9/boot-9.scm:1685:16: In procedure raise-exception: 2023-12-04 10:14:07 Throw to key `psql-query-error' with args `(#f #f "no c= onnection to the server\n")'. 2023-12-04 10:14:30 error: invalid log received from xx.xx.xx.254 2023-12-04 10:14:30 error: invalid log received from xx.xx.xx.254 2023-12-04 10:14:35 error: invalid log received from xx.xx.xx.254 --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99. From unknown Fri Jun 20 18:22:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67629: [Cuirass] =?UTF-8?Q?=E2=80=98remote-server=E2=80=99?= wrecks havoc when misbehaving clients connect Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 12 Dec 2023 17:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67629 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 67629@debbugs.gnu.org Received: via spool by 67629-submit@debbugs.gnu.org id=B67629.170240065620172 (code B ref 67629); Tue, 12 Dec 2023 17:05:02 +0000 Received: (at 67629) by debbugs.gnu.org; 12 Dec 2023 17:04:16 +0000 Received: from localhost ([127.0.0.1]:57376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rD6B5-0005FI-NF for submit@debbugs.gnu.org; Tue, 12 Dec 2023 12:04:16 -0500 Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]:54409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rD6B4-0005F3-62 for 67629@debbugs.gnu.org; Tue, 12 Dec 2023 12:04:14 -0500 Received: by mail-qk1-x72b.google.com with SMTP id af79cd13be357-77f3d75dafeso350489685a.0 for <67629@debbugs.gnu.org>; Tue, 12 Dec 2023 09:03:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702400632; x=1703005432; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZKmlqZUac2PisLpjenY+w31WQMCJHMJwF6xwjvJblY0=; b=AQfW7YDTUZ8N9IAW8YgXAq6MY+MY4n60pAk8z9zJjnqmuo2MdkQ/E7y5Acn5SY1De3 HRjuOtVZI27eA23WXaWC7rS89VWI3hCcrQTTvqMNZsqWMktNudT9JGx80ZP1co3GykmY o3TO4hkVg11P3A6g9Kgl4euecRULN1XbvFPfKn40sbMqwGJYiaobTkevWLQSDAMPF8X9 5RMA5b72ljVeQA9r0TY1r08tJwxhzYHInvNdkPv+fuQ4S8oXv7OgyONjEPtSvVt5CNk6 /wXXnmg4LXZdVo3Anml3916I0QxhXly1Ee+TNJwT78KQ24CRog5lo/bZPNlUYB5s5VeI 33eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702400632; x=1703005432; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ZKmlqZUac2PisLpjenY+w31WQMCJHMJwF6xwjvJblY0=; b=ZRjOl0n/Was1EluSIU6Pg5QgGjOSqHbMB3t4rLmT7sovnrEuJpI2t52VKyKzcFkeIt /zBZ6W5+Rm3yJf8NzjDPkurAjEonq7rw8UP1Q74B8YaR5rWfuOW2TUGU+a3HVyqMVTKr 08U4R0msGVV6vTYacC6W9tFvxvtQS3ko7X7GWcZKF4J8BAEfIPyiga3UvHtTExpQ1EF3 WcbUcl9YD1wDgVTJTvmJESjem0zqMKc+6x6LHoHBbAQJwww/rKynh+VnBcUqNRu+AzGd wmwBM/jC4WThwPSK4Xxusf2HDFCVdSb7hj9LA/5omQ6cJBRL/6eD3DYe/cJ+pWLgyi53 iGyQ== X-Gm-Message-State: AOJu0YzJL1TXfgvFiCv/DQ0WaiKM5NZT4jHw5ZGRrbCrfTmt/etzOvEl crkSKty+yWtbgZ9TPKE86QzoLg9XjSY= X-Google-Smtp-Source: AGHT+IGqiclacr2i9//Y5B0QyG/SNNPuQpEk8l1OTfJvpCKsbbxBcElMdlJHiIgqZsnTN+fgwnnc7A== X-Received: by 2002:a05:620a:4ac3:b0:77d:c820:e171 with SMTP id sq3-20020a05620a4ac300b0077dc820e171mr7415328qkn.64.1702400632691; Tue, 12 Dec 2023 09:03:52 -0800 (PST) Received: from hurd (dsl-157-186.b2b2c.ca. [66.158.157.186]) by smtp.gmail.com with ESMTPSA id ri4-20020a05620a8f8400b0077d84ad9744sm3881871qkn.36.2023.12.12.09.03.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 09:03:52 -0800 (PST) From: Maxim Cournoyer In-Reply-To: <871qc1myj6.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 04 Dec 2023 22:46:21 +0100") References: <871qc1myj6.fsf@inria.fr> Date: Tue, 12 Dec 2023 12:03:51 -0500 Message-ID: <875y13bbew.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Ludovic Court=C3=A8s writes: > The =E2=80=98cuirass remote-server=E2=80=99 process goes awry when misbeh= aved clients > connect; specifically, some of its fibers crash, leaving it running but > inactive: I guess what I reported in bug#67633 is a symptom of the above problem, perhaps? --=20 Thanks, Maxim From unknown Fri Jun 20 18:22:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67629: [Cuirass] =?UTF-8?Q?=E2=80=98remote-server=E2=80=99?= wrecks havoc when misbehaving clients connect Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 03 Apr 2024 09:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67629 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 67629@debbugs.gnu.org Received: via spool by 67629-submit@debbugs.gnu.org id=B67629.17121354006344 (code B ref 67629); Wed, 03 Apr 2024 09:10:02 +0000 Received: (at 67629) by debbugs.gnu.org; 3 Apr 2024 09:10:00 +0000 Received: from localhost ([127.0.0.1]:57039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrwd5-0001eF-T0 for submit@debbugs.gnu.org; Wed, 03 Apr 2024 05:10:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrwd2-0001dz-OI for 67629@debbugs.gnu.org; Wed, 03 Apr 2024 05:09:58 -0400 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 1rrwct-0003Ep-5m; Wed, 03 Apr 2024 05:09:47 -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=xBE8cJrs36oTId4MOFvsDqC83BeudS2znpCu73WLVJo=; b=KxbYRejbi5n3GcxXtysc ezz3NnW4Tk74OX6NGH6enojakS0P2r7ZwpaadCaoOaIfdW1oAXQFQ2fCUHCJyUvwWXeh9aE0rjgQg YT8jTW1JgjnnOw8uSShiPBzMtH91qlSyWrwwOYGtAIq5bY4Xq/3zaI9fszzqPNybAeNeZ134LKbaF fWKrnJP9Qw+ywcZ4vXJ9DFQHqFdWP1DaHSltvjSfTV+aBdK6dAmvOkAGbILzZq4CeT4LbJEY/vRqT tdHJhHVt/O2iPya1TqPeRZ41aEC9P3RzmgAY/7rEBtNbAMXsKPIrImjYOi8sYzMuTCeYoNv1jdTOK 5C2HSAKqir+Vzg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <875y13bbew.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 12 Dec 2023 12:03:51 -0500") References: <871qc1myj6.fsf@inria.fr> <875y13bbew.fsf@gmail.com> Date: Wed, 03 Apr 2024 11:09:43 +0200 Message-ID: <87v84yzuaw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Maxim Cournoyer skribis: > Ludovic Court=C3=A8s writes: > >> The =E2=80=98cuirass remote-server=E2=80=99 process goes awry when misbe= haved clients >> connect; specifically, some of its fibers crash, leaving it running but >> inactive: > > I guess what I reported in bug#67633 is a symptom of the above problem, > perhaps? It could be yes, if =E2=80=98remote-server=E2=80=99 crashed right at that m= oment. Ludo=E2=80=99. From unknown Fri Jun 20 18:22:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#67629: closed (Re: bug#67629: [Cuirass] =?UTF-8?Q?=E2=80=98remote-server=E2=80=99?= wrecks havoc when misbehaving clients connect) Message-ID: References: <87o7aqzu55.fsf@gnu.org> <871qc1myj6.fsf@inria.fr> X-Gnu-PR-Message: they-closed 67629 X-Gnu-PR-Package: guix Reply-To: 67629@debbugs.gnu.org Date: Wed, 03 Apr 2024 09:14:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1712135642-7489-1" This is a multi-part message in MIME format... ------------=_1712135642-7489-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #67629: [Cuirass] =E2=80=98remote-server=E2=80=99 wrecks havoc when misbeha= ving clients connect which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 67629@debbugs.gnu.org. --=20 67629: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67629 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1712135642-7489-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 67629-done) by debbugs.gnu.org; 3 Apr 2024 09:13:25 +0000 Received: from localhost ([127.0.0.1]:57045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrwgO-0001vb-Hu for submit@debbugs.gnu.org; Wed, 03 Apr 2024 05:13:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrwgM-0001vC-3s for 67629-done@debbugs.gnu.org; Wed, 03 Apr 2024 05:13:22 -0400 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 1rrwgC-0004jO-IH for 67629-done@debbugs.gnu.org; Wed, 03 Apr 2024 05:13:12 -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=DUATG0C0fMH52WhmYUtxVetyldNtx9rkdOPiEdZ+Rnc=; b=Jz8S/hx/3QacNZvhCT1p wOBnxpwm6bq5FihMhuYiwVS3jSPbLIQYDqQ0CoYTlKMnl4mlp4pcTiXwjQLdX6SfGUyhi6/E7luIv 1RJAi2SbLdzpqB5iJdIWvBNR0oyrLc723JGTT6uRfZRJsEqtnSCPWTQdDBQItHVVAqPhzAnFmy2pv jbADp8NGHSOBB1K9RpF84rDv6RjPEKqEFN0OpiWnT4TQrdJbM7VUwIILzJqoEPXzMlCT7B4z6vfZn W/KvtzdH2i+E3Gpjz+JBorGK+Smfx3lX267butyeCaVXtM4Rpg32rAngpHCrWWsWyJCpqRHfN3148 VHdX/Wt2+YyZiw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 67629-done@debbugs.gnu.org Subject: Re: bug#67629: [Cuirass] =?utf-8?Q?=E2=80=98remote-server?= =?utf-8?Q?=E2=80=99?= wrecks havoc when misbehaving clients connect In-Reply-To: <871qc1myj6.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Mon, 04 Dec 2023 22:46:21 +0100") References: <871qc1myj6.fsf@inria.fr> Date: Wed, 03 Apr 2024 11:13:10 +0200 Message-ID: <87o7aqzu55.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67629-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > The =E2=80=98cuirass remote-server=E2=80=99 process goes awry when misbeh= aved clients > connect; specifically, some of its fibers crash, leaving it running but > inactive: > > 2023-12-04 10:13:14 periodic update: 0 resumable, 0 failed builds > 2023-12-04 10:13:28 error: Connection reset by peer when replying to xx.x= x.xx.254. > 2023-12-04 10:13:42 error: invalid log received from xx.xx.xx.254 > 2023-12-04 10:13:42 error: EOF while receiving log from xx.xx.xx.254 > 2023-12-04 10:13:48 Uncaught exception in task: > 2023-12-04 10:13:48 In fibers.scm: > 2023-12-04 10:13:48 186:20 8 (_) > 2023-12-04 10:13:48 145:21 7 (_) > 2023-12-04 10:13:48 In ice-9/boot-9.scm: > 2023-12-04 10:13:48 1752:10 6 (with-exception-handler _ _ #:unwind? _ = #:unwind-for-type _) > 2023-12-04 10:13:48 In cuirass/scripts/remote-server.scm: > 2023-12-04 10:13:48 695:11 5 (_) > 2023-12-04 10:13:48 In ice-9/boot-9.scm: > 2023-12-04 10:13:48 1747:15 4 (with-exception-handler # _ #:unwind? _ #:unwind-for-type = _) > 2023-12-04 10:13:48 In cuirass/scripts/remote-server.scm: > 2023-12-04 10:13:48 437:23 3 (serve-build-requests _ #< getq= : # #))> getq-gc-co > unter: # putq: # putq-gc-counter: #>) > 2023-12-04 10:13:48 In cuirass/remote.scm: > 2023-12-04 10:13:48 466:6 2 (receive-message _ #:router? _) > 2023-12-04 10:13:48 In ice-9/boot-9.scm: > 2023-12-04 10:13:48 1685:16 1 (raise-exception _ #:continuable? _) > 2023-12-04 10:13:48 1685:16 0 (raise-exception _ #:continuable? _) > 2023-12-04 10:13:48 ice-9/boot-9.scm:1685:16: In procedure raise-exceptio= n: > 2023-12-04 10:13:48 Throw to key `match-error' with args `("match" "no ma= tching pattern" (# # #<= zmq-message 7f981881d860>))'. With commit 9a1452ee021c9f773424961cfeef47ca0b7c5c5a, =E2=80=98cuirass remote-server=E2=80=99 handles this situation gracefully. I=E2=80=99m still curious about who=E2=80=99s sending us garbage: it has to= be valid zmq, just with the wrong number of parts. From the logs, it seemed like a port scanner or something on the MDC network was sending garbage on all the open ports, but that would need to be a sophisticated one. Ludo=E2=80=99. ------------=_1712135642-7489-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Dec 2023 21:46:47 +0000 Received: from localhost ([127.0.0.1]:35942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAGm7-0006F0-4j for submit@debbugs.gnu.org; Mon, 04 Dec 2023 16:46:47 -0500 Received: from lists.gnu.org ([2001:470:142::17]:38722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAGm4-0006Ej-Qw for submit@debbugs.gnu.org; Mon, 04 Dec 2023 16:46:45 -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 1rAGlo-0007Ky-9K for bug-guix@gnu.org; Mon, 04 Dec 2023 16:46:28 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rAGlm-0006yf-5m for bug-guix@gnu.org; Mon, 04 Dec 2023 16:46:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=rgRPj5lDQYcWsXBm05ru53Id+HZeWK6THRM7YAVdj38=; b=WTFB8WrFoIMtkXmC9SCqwl4b9UZkMWCL9CxCUa3eFW77HbWFRxjuCZnk M2oUzpZS2zIiOQn+coUSqbDjPOUaIzRkhp/mcFLYP0QMhHjkvYiS762eC rjCGtEtMl+OhJCJwhnIt1D0CfN3VZpaO9sl+mWU7+In3Ge+14WLPwm5/X A=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.04,250,1695679200"; d="scan'208";a="73394551" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 22:46:22 +0100 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-guix@gnu.org Subject: [Cuirass] =?utf-8?Q?=E2=80=98remote-server=E2=80=99?= wrecks havoc when misbehaving clients connect X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 14 Frimaire an 232 de la =?utf-8?Q?R=C3=A9v?= =?utf-8?Q?olution=2C?= jour du Sapin X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 04 Dec 2023 22:46:21 +0100 Message-ID: <871qc1myj6.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.104; envelope-from=ludovic.courtes@inria.fr; helo=mail3-relais-sop.national.inria.fr 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) The =E2=80=98cuirass remote-server=E2=80=99 process goes awry when misbehav= ed clients connect; specifically, some of its fibers crash, leaving it running but inactive: --8<---------------cut here---------------start------------->8--- 2023-12-04 10:13:14 periodic update: 0 resumable, 0 failed builds 2023-12-04 10:13:28 error: Connection reset by peer when replying to xx.xx.= xx.254. 2023-12-04 10:13:42 error: invalid log received from xx.xx.xx.254 2023-12-04 10:13:42 error: EOF while receiving log from xx.xx.xx.254 2023-12-04 10:13:48 Uncaught exception in task: 2023-12-04 10:13:48 In fibers.scm: 2023-12-04 10:13:48 186:20 8 (_) 2023-12-04 10:13:48 145:21 7 (_) 2023-12-04 10:13:48 In ice-9/boot-9.scm: 2023-12-04 10:13:48 1752:10 6 (with-exception-handler _ _ #:unwind? _ #:= unwind-for-type _) 2023-12-04 10:13:48 In cuirass/scripts/remote-server.scm: 2023-12-04 10:13:48 695:11 5 (_) 2023-12-04 10:13:48 In ice-9/boot-9.scm: 2023-12-04 10:13:48 1747:15 4 (with-exception-handler # _ #:unwind? _ #:unwind-for-type _) 2023-12-04 10:13:48 In cuirass/scripts/remote-server.scm: 2023-12-04 10:13:48 437:23 3 (serve-build-requests _ #< getq: = # = #))> getq-gc-co unter: # putq: # putq-gc-counter: #>) 2023-12-04 10:13:48 In cuirass/remote.scm: 2023-12-04 10:13:48 466:6 2 (receive-message _ #:router? _) 2023-12-04 10:13:48 In ice-9/boot-9.scm: 2023-12-04 10:13:48 1685:16 1 (raise-exception _ #:continuable? _) 2023-12-04 10:13:48 1685:16 0 (raise-exception _ #:continuable? _) 2023-12-04 10:13:48 ice-9/boot-9.scm:1685:16: In procedure raise-exception: 2023-12-04 10:13:48 Throw to key `match-error' with args `("match" "no matc= hing pattern" (# # #))'. 2023-12-04 10:13:48 Uncaught exception in task: 2023-12-04 10:13:48 In fibers.scm: 2023-12-04 10:13:48 172:8 2 (_) 2023-12-04 10:13:48 In cuirass/notification.scm: 2023-12-04 10:13:48 162:15 1 (_) 2023-12-04 10:13:48 In ice-9/boot-9.scm: 2023-12-04 10:13:48 1685:16 0 (raise-exception _ #:continuable? _) 2023-12-04 10:13:48 ice-9/boot-9.scm:1685:16: In procedure raise-exception: 2023-12-04 10:13:48 Throw to key `psql-query-error' with args `(#f #f "no c= onnection to the server\n")'. 2023-12-04 10:14:06 0 items queued for eventual download 2023-12-04 10:14:07 Uncaught exception in task: 2023-12-04 10:14:07 In fibers.scm: 2023-12-04 10:14:07 172:8 2 (_) 2023-12-04 10:14:07 In cuirass/scripts/remote-server.scm: 2023-12-04 10:14:07 430:10 1 (_) 2023-12-04 10:14:07 In ice-9/boot-9.scm: 2023-12-04 10:14:07 1685:16 0 (raise-exception _ #:continuable? _) 2023-12-04 10:14:07 ice-9/boot-9.scm:1685:16: In procedure raise-exception: 2023-12-04 10:14:07 Throw to key `psql-query-error' with args `(#f #f "no c= onnection to the server\n")'. 2023-12-04 10:14:30 error: invalid log received from xx.xx.xx.254 2023-12-04 10:14:30 error: invalid log received from xx.xx.xx.254 2023-12-04 10:14:35 error: invalid log received from xx.xx.xx.254 --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99. ------------=_1712135642-7489-1--