From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 yLOgAeBzjmKwZwEAbAwnHQ (envelope-from ) for ; Wed, 25 May 2022 20:22:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cBCNAeBzjmKEdgEAauVa8A (envelope-from ) for ; Wed, 25 May 2022 20:22:24 +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 309A42DC4A for ; Wed, 25 May 2022 20:22:23 +0200 (CEST) Received: from localhost ([::1]:38598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntveH-0004zV-UA for larch@yhetil.org; Wed, 25 May 2022 14:22:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntvdy-0004zL-9j for bug-guix@gnu.org; Wed, 25 May 2022 14:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34303) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntvdy-0002Il-1a for bug-guix@gnu.org; Wed, 25 May 2022 14:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ntvdx-0007Nq-SS for bug-guix@gnu.org; Wed, 25 May 2022 14:22:01 -0400 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: Wed, 25 May 2022 18:22: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: Mathieu Othacehe Cc: 55441@debbugs.gnu.org, Maxim Cournoyer Received: via spool by 55441-submit@debbugs.gnu.org id=B55441.165350290328355 (code B ref 55441); Wed, 25 May 2022 18:22:01 +0000 Received: (at 55441) by debbugs.gnu.org; 25 May 2022 18:21:43 +0000 Received: from localhost ([127.0.0.1]:56433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntvde-0007NG-Fb for submit@debbugs.gnu.org; Wed, 25 May 2022 14:21:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntvdZ-0007Mt-MH for 55441@debbugs.gnu.org; Wed, 25 May 2022 14:21:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47620) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntvdU-0002G0-9q; Wed, 25 May 2022 14:21:32 -0400 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=0hciw+GW15xtp2xDTW5UmsuRf5jHRpk4pDSun1y5Gjc=; b=jfr6+a2xed1KCL5bXd90 OzLJo3I1FhZdv6Xv9YI43lAaBcUUrgXzk1DUXYWsKKohxAgk9QY8xroGATcmft0G+8at2qzl11VoY 0XT/4D8N3WmRaCspmqXPa6hGPq5R/+rSkUqasGUlIdmYgKdxll7R9x5uF/cKq7aLD3KukfMKMovI/ LOzGNiEun4Sbk9CVGlYZ2klturC+t3zhVn4rs/B6qo0QfA1U3huSKDAzfGUn6tUmXk2Rmsa6H4XrO JDNdzITJQgN0aM58qwAM5qCTkZOWdoa2wEzvVe4dNB4VNYeIG5JjQ+LPFEuvGlU7U66j16pxbm2aJ QmNm0yRFwdJa2Q==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:50459 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntvdT-0003hQ-RQ; Wed, 25 May 2022 14:21:32 -0400 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> Date: Wed, 25 May 2022 20:21:29 +0200 In-Reply-To: <87bkvlh8u2.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 25 May 2022 18:32:05 +0200") Message-ID: <875ylth3rq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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=1653502943; 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=0hciw+GW15xtp2xDTW5UmsuRf5jHRpk4pDSun1y5Gjc=; b=U7ExUKHTvY6NTSEHfFSk+p0ZItWcDQkUV4jme+DWBOV95tIT6uiN/mK4bV5Ub6jcZ1Ezfo bGCo4PHH1Dvvjz9FH+XIbti0/LaV8nD5ohLK9HxQAkvWbnt9BTd9x7D3Oz9ow01+oRFsCo CnusY5QzxA5smyTdP+4if+Y2IRhcsqxM4988OSH814KvTQS2/fx9Iu9Vnh6+2ZCHjv+Nb5 2eLAlnI3S+LJQvqKOKFkyKvb15DIn8yqZeZRO+exp9qq7P7TgTuXacCYh6Cb0x1pqWVQYv sZlICUdgcldfzD15B0O/5pu1QZ/KUZ7DbcuYyjeWCF+nYs0f++IXcrnfyMaoYA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653502943; a=rsa-sha256; cv=none; b=es+YEjP+AfCcf/fW7UKOmygyHz4RMKu9gSRohX5bdFjtJ08RS46lHt1oaJiW37hTKvtHaG aBnXPKslBL6sb2nWxwGgbOk2Sh0x6m+onOpNsaJLRbSvJECcUDe6VUEsjjf41lJkx0DqPu 061foBOHpkQEzsxGZVmby924mFAulLGrcIGuDNB1Y1XvKvuE85dhnSOKI1INmvecRkWWsm 8wfVe8z/aQldh5NvX5Gu2axunqi2/IHgV7A0tvmxHe8W+SP0hQOnN1+tqgWTqtggN/gImV 4sm/XHD0UR0tR9XcE7r6lMqkztaKQek2VNYsxxsdfhEDCZ4eYe1WilNu0qBR7Q== 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=jfr6+a2x; 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: -4.04 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=jfr6+a2x; 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: 309A42DC4A X-Spam-Score: -4.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: I7/iwkK4TJag --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable For now, I=E2=80=99m going to go with the solution below, which is to use an older revision of Guix (one where =E2=80=98open-inferior=E2=80=99 was using =E2=80=98open-pipe*=E2=80=99) as the dependency of the =E2=80=98cuirass=E2= =80=99 package. I=E2=80=99m running =E2=80=9Ccuirass evaluate=E2=80=9D manually on berlin t= o make sure it actually works. If everything goes well, I=E2=80=99ll push it and reconfig= ure berlin later today or tomorrow. Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm index ab421fe870..9cd2f6884e 100644 --- a/gnu/packages/ci.scm +++ b/gnu/packages/ci.scm @@ -164,7 +164,14 @@ (define-public cuirass ;; FIXME: this is propagated by "guile-git", but it needs to be among ;; the inputs to add it to GUILE_LOAD_PATH. guile-bytestructures - guix)) + + ;; FIXME: The 'cuirass evaluate' command is multithreaded, but it + ;; uses 'open-inferior', which calls 'primitive-fork', thus + ;; potentially creating child processes that deadlock. To work + ;; around that, use the last revision of Guix where + ;; 'open-inferior' was using 'open-pipe*' rather than + ;; 'primitive-fork'. See . + guix-for-cuirass)) (native-inputs (list autoconf automake pkg-config texinfo ephemeralpg)) (native-search-paths diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 619458a0d3..16ad4fe9db 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -489,6 +489,30 @@ (define code (license license:gpl3+) (properties '((ftp-server . "alpha.gnu.org")))))) +(define-public guix-for-cuirass + ;; Known-good revision before commit + ;; bd86bbd300474204878e927f6cd3f0defa1662a5, which introduced + ;; 'primitive-fork' in 'open-inferior'. + (let ((version "1.3.0") + (commit "a27e47f9d1e22dc32bb250cfeef88cfacb930e23") + (revision 23)) + (package + (inherit guix) + (version (string-append version "-" + (number->string revision) + "." (string-take commit 7))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.savannah.gnu.org/git/guix.git") + (commit commit))) + (sha256 + (base32 + "12jmvagbw05hmmlrb82i0qazhlv7mcfnl4dmknwx3a9hd760g9y1")) + (file-name (string-append "guix-" version "-checkout")))) + (properties `((hidden? . #t) + ,@(package-properties guix)))))) + (define-public guix-daemon ;; This package is for internal consumption: it allows us to quickly build ;; the 'guix-daemon' program and use that in (guix self), used by 'guix --=-=-=--