From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CBBvGRCR0mM+/gAAbAwnHQ (envelope-from ) for ; Thu, 26 Jan 2023 15:41:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sMR8GBCR0mOU/wAAG6o9tA (envelope-from ) for ; Thu, 26 Jan 2023 15:41:20 +0100 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 8846DB9B for ; Thu, 26 Jan 2023 15:41:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pL3R2-0003P7-Js; Thu, 26 Jan 2023 09:41:04 -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 1pL3R0-0003Nf-KA for bug-guix@gnu.org; Thu, 26 Jan 2023 09:41:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pL3R0-0001qB-0m for bug-guix@gnu.org; Thu, 26 Jan 2023 09:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pL3Qz-0004ex-SG for bug-guix@gnu.org; Thu, 26 Jan 2023 09:41:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 26 Jan 2023 14:41: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 Cc: 55441@debbugs.gnu.org, Mathieu Othacehe , Christopher Baines , Maxime Devos Received: via spool by 55441-submit@debbugs.gnu.org id=B55441.167474401017840 (code B ref 55441); Thu, 26 Jan 2023 14:41:01 +0000 Received: (at 55441) by debbugs.gnu.org; 26 Jan 2023 14:40:10 +0000 Received: from localhost ([127.0.0.1]:32848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pL3Q9-0004df-PR for submit@debbugs.gnu.org; Thu, 26 Jan 2023 09:40:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pL3Q8-0004dT-Bf for 55441@debbugs.gnu.org; Thu, 26 Jan 2023 09:40:08 -0500 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 1pL3Q1-0001Uu-L8; Thu, 26 Jan 2023 09:40:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=bbW++DzBHB1EgyrLQFHlL4byUi+a21VRChm1KUmeDpw=; b=rr4BIBvUo/ie7Df09LG8 Hdyhmst6FipNwvt/6ng4HhNOXewbR2DzFmyREBm3EeIyzUMT2/BodLdbbwkGmYRjVS4AZ3GRSP4Jo M+dYQhdxc2BGea3RyqJFyxzlBYHMxarpTddCCPrOyKQpinNlNwhCTvHGBkifEcZGhk6PlQO9s5Nkg JQiApYGgnAUyh2WxZPJRaroDj+bItN/K6rVloPy5ayK6A0R0SnAaskFg2D30qymXFJ/3ZUFYmmbek nBg9UtvyUwjk1fEiVnShYLPd0ryDa+5TqmDPDqvai/V/p+H30HhgaFJgFMEcK4uKZo/hGxb7WXaSU IblYUF0yRHxCww==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pL3Q0-0000yv-4u; Thu, 26 Jan 2023 09:40:00 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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> <16f8aa929bcba3536da4701f9b1152f28ca4b893.camel@telenet.be> <87ilpphi12.fsf@jpoiret.xyz> Date: Thu, 26 Jan 2023 15:39:57 +0100 In-Reply-To: <87ilpphi12.fsf@jpoiret.xyz> (Josselin Poiret's message of "Sat, 28 May 2022 16:02:33 +0200") Message-ID: <87pmb1nyv6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674744080; a=rsa-sha256; cv=none; b=g5nIuC6KSyag3jnkw+rK1e7Sx9DoFjJay6PtkCQy0TKyv/onoVZrMy5ISMOwHFvWoW1pfp VroAJkTmpK7ePeAEx1LPmSlnduXJYVML2g46xj1X0n8jWvBITk0Ha3GbmMcldcJnWdjIvk 7ULgUePckR9ax6iAJy4Ohf4PZnwLD63L9dBAPHnPeTEOuxKnxcYeQR/QFL/+HjnXNR7JEY tSbVBE1a+ACw750sAq46cv0Boku4aC5KIWAqaZW2TyOaNBcU25j3p5lJUWYzCG+lElHnjj MQzDZtBFLaZmXfrZf/WTeSxaPiFWJ0wN8WbUMkiVbu27Szk8064e3l1yQ6Lh1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674744080; 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=bbW++DzBHB1EgyrLQFHlL4byUi+a21VRChm1KUmeDpw=; b=CGKxQ84ugCG8eg/zniRQY1qs+nFYN1YZmm8IOfzL8hafXRvd+9b9PHbF0ykq+oRuZxhRSG +93pLQ/RHryBGzCRBIPGudrOIlzbj7I8vj9LwG1lNGHgKEDx145MROzhK4jUF9XOiEfNOy ED0RVE3BeZd2ZuMs3lSE53iSGwfi7lXaYAVRRjsyX5QQFn0PUo0yREEhDVYQv8qLSy3kid GgVjWBwz2lQGfXxR6sWD3dcdlkpDZ9WQooC2poR5G2sshORJ3bXkob8g7vOphZdkifZOpP E0JC4ZopP9w0DuI1H4pTnmFltvtbnjNPEmnKeFzPRHcC7ff7V4zJIEgXy/VUyA== 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=rr4BIBvU; 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"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.08 X-Spam-Score: -3.08 X-Migadu-Queue-Id: 8846DB9B Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=rr4BIBvU; 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"; dmarc=pass (policy=none) header.from=gnu.org X-TUID: QYi3n1FOA9on Hi there! I have some good news! Time has passed but we didn=E2=80=99t remain idle := -) and the scary bug at is finding a happy end! First, Josselin introduced bindings to =E2=80=98posix_spawn=E2=80=99=C2=B9 = in Guile, to use as the foundation of a new =E2=80=98spawn=E2=80=99 procedure, but also for = =E2=80=98system*=E2=80=99, =E2=80=98open-pipe*=E2=80=99, & co.: https://issues.guix.gnu.org/52835 That=E2=80=99s big deal because =E2=80=98posix_spawn=E2=80=99 is usable in = a multi-threaded context (POSIX doesn=E2=80=99t explicitly say so, but it stems from the fact that what happens in the child process before =E2=80=98exec=E2=80=99 is =E2= =80=9Csafe=E2=80=9D, and in particular Guile code doesn=E2=80=99t get a chance to run). Guile 3.0.9 released yesterday includes those changes. Then we have this commit, where I changed =E2=80=98open-bidirectional-pipe= =E2=80=99 in (guix inferior) to use =E2=80=98spawn=E2=80=99 where available: fed3953d70 inferior: Use 'spawn' on Guile 3.0.9+. That solves the problem that led to this bug. Last, we have this update: 230de2e94b gnu: guix: Update to d5fece6. It gives us a =E2=80=98guix=E2=80=99 package that contains the =E2=80=98spa= wn=E2=80=99 fix and removes =E2=80=98guix-for-cuirass=E2=80=99, which is now longer necessary. Thanks everyone for the team work, very nice when working on touch issues like this one! Ludo=E2=80=99. =C2=B9 https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_spa= wn.html