From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 wDXFAyLqj2KpYQEAbAwnHQ (envelope-from ) for ; Thu, 26 May 2022 22:59:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SHSpAyLqj2KHZAEAauVa8A (envelope-from ) for ; Thu, 26 May 2022 22:59:14 +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 C1B3AF534 for ; Thu, 26 May 2022 22:59:13 +0200 (CEST) Received: from localhost ([::1]:45266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuKZc-0001GT-Le for larch@yhetil.org; Thu, 26 May 2022 16:59:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuKZR-0001Fs-Ur for bug-guix@gnu.org; Thu, 26 May 2022 16:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuKZR-0002Mb-IZ for bug-guix@gnu.org; Thu, 26 May 2022 16:59:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nuKZR-0005yA-I2 for bug-guix@gnu.org; Thu, 26 May 2022 16:59:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 26 May 2022 20:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55441 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines Cc: 55441@debbugs.gnu.org Received: via spool by 55441-submit@debbugs.gnu.org id=B55441.165359872622925 (code B ref 55441); Thu, 26 May 2022 20:59:01 +0000 Received: (at 55441) by debbugs.gnu.org; 26 May 2022 20:58:46 +0000 Received: from localhost ([127.0.0.1]:60180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuKZB-0005xg-VB for submit@debbugs.gnu.org; Thu, 26 May 2022 16:58:46 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:52786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuKZA-0005xX-2C for 55441@debbugs.gnu.org; Thu, 26 May 2022 16:58:44 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id bYyi270074UW6Th01YyipR; Thu, 26 May 2022 22:58:42 +0200 Message-ID: <16f8aa929bcba3536da4701f9b1152f28ca4b893.camel@telenet.be> From: Maxime Devos Date: Thu, 26 May 2022 22:58:42 +0200 In-Reply-To: <87sfow10lc.fsf@jpoiret.xyz> References: <87fslcaznn.fsf@gmail.com> <87mtfj174l.fsf@gnu.org> <878rr2kug6.fsf_-_@gmail.com> <87pmke6ig4.fsf@gnu.org> <87o7zxalhu.fsf@gnu.org> <87k0alahug.fsf@gnu.org> <87fsl9acuw.fsf@gnu.org> <878rr1jsd1.fsf@gmail.com> <87fsl87gb5.fsf@gnu.org> <874k1n5loz.fsf@gnu.org> <87r14ovyud.fsf@gnu.org> <87k0aaiqzu.fsf@gnu.org> <87bkvlh8u2.fsf@gnu.org> <875ylth3rq.fsf@gnu.org> <87h75dtcaa.fsf@cbaines.net> <871qwghbme.fsf@gnu.org> <87sfow10lc.fsf@jpoiret.xyz> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-tDvHSVanuBYZZSO6fzkn" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1653598722; bh=B/uQ9HA4c9b6DW+VT9cNUfc/PT4DSBLzltKA40gvS10=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=lkxMfj0Hi/1R5mrCANmSEsTuMcRLtRjyJEJZ90z1QqwWa3pWOaU2Bk3z54qSlIUx+ lbLG7sz4xLlc1hH96WrswVFnAKrYAeoPErs88qKXAHQQuVrnsft13CfE0jiCk2sRj3 4D420PQ5tv7ASus9cfcHI4GmjWx8XbwChvf4fgRBxKsGirwQI3D9xc6axERA3QEAi/ 4kQTUjU8d/HSgQF6hEjizEynShmwuak46Wjk8JVmmaETvWwGDVuOgKTUCZzp+iJSfr 8kdZ2TlpRTJFUdTqnnN0l7OtceOlejbl6HD2t9TGP4JI0u40ROcn7ZGla4CKGNcUHY zslylv+cEhrQw== 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653598753; 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=B/uQ9HA4c9b6DW+VT9cNUfc/PT4DSBLzltKA40gvS10=; b=utl/mvBqZeLL4jo6iuhW7Zmjo1On7k7IP/DXbAVZyX9fHg/TX4FwtusAwwnJNNIhJ/xJkk DVSjAISQ8lGc8Xfaz1r/+mGAG/KVYaqeHtTVpn+ihmynVk+yNa210+UtVt4xr0p1ocFKks 3OUIKy4qUXFMF7rGpC9V1ok1fZb3XkTXN+DFGVDa6vyehQd0Du7eVrYCF0qokkhqh31oR1 GaPTlFBE8sBZfK7oR3BGf0q6RheGKpIgaxfOmQ8nW4E/gMzH8HWc1LTbFKz9Sspt603skS rU85qTN2UeDSMaj/4THIvh7An7383sz0xkwkGDvL+5+z+u740/CdaObr59Eacw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653598753; a=rsa-sha256; cv=none; b=IFjT54fMwMC0yy9GcOTvSvzZbLI4dpZQtcOp+gm2IPqy/cHxAhg2V+PMZBxTAcbNn6xac9 0DaigjDaS0dvXGXVmp03PW2bpKu3CIO3lPZE80/K0a/v0z21MxGWP0+YTJt2j7OknsE6+d HSWPjNdWhtjbOB3dkyfMxwjz5hyi7RAReAETPlb6ZwtC3hBFb+PMT4Qv94S9C5JHRurfNu ZY4rPVMAFonz32fBHx75R6P7QclJGnms8agPo/Rul8QCX8C9kLEJe49RxhQmljLk7pVQcR rP9JkCCRteK6VvColM1nHRmWs0AXfd5mUmsOxsOmHxb7sm850mCGBr6vl67n3w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=lkxMfj0H; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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: 4.56 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=lkxMfj0H; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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: C1B3AF534 X-Spam-Score: 4.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ip5NzpgHmze+ --=-tDvHSVanuBYZZSO6fzkn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Josselin Poiret via Bug reports for GNU Guix schreef op do 26-05-2022 om 22:49 [+0200]: > Hello everyone, >=20 > With all the recent platform changes, I was looking at `make > cuirass-jobs` for the first time and it left some deadlocked inferiors > as well, so I figured I could try my own solution, since I've already > dabbled in Guile POSIX internals! Here's a patch that rewrites > open-bidirectional-pipe with a more thread-safe alternative, > `piped-process`, but this also requires some Guile patches, that I will > post as well. With these, `make cuirass-jobs` doesn't hang at all > anymore for me. >=20 > Let me know what you think of these >=20 > Best, The process opening code looks fragile, so I think some tests are required to avoid causing regressions later. Greetings, Maxime. --=-tDvHSVanuBYZZSO6fzkn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYo/qAhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qOgAP9m6yapGzXa40adLWf3FBueIL8/ PFrPZk7zLX9PlvzUswD/Wf7op9MzB9rWvwEBRppdN55wbFD2SzQk4DgPI9Ru0wE= =WKTD -----END PGP SIGNATURE----- --=-tDvHSVanuBYZZSO6fzkn--