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 IBu3F6KkhGJ2sQAAbAwnHQ (envelope-from ) for ; Wed, 18 May 2022 09:47:46 +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 8B2jF6KkhGJKqQAA9RJhRA (envelope-from ) for ; Wed, 18 May 2022 09:47:46 +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 9CA482B0FD for ; Wed, 18 May 2022 09:47:45 +0200 (CEST) Received: from localhost ([::1]:42202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrEPI-00039j-4a for larch@yhetil.org; Wed, 18 May 2022 03:47:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrEMn-00038i-Tp for bug-guix@gnu.org; Wed, 18 May 2022 03:45:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrEMg-0000jO-MZ for bug-guix@gnu.org; Wed, 18 May 2022 03:45:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nrEMg-00030x-FT for bug-guix@gnu.org; Wed, 18 May 2022 03:45:02 -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, 18 May 2022 07:45:02 +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: Maxim Cournoyer Cc: 55441@debbugs.gnu.org, Mathieu Othacehe Received: via spool by 55441-submit@debbugs.gnu.org id=B55441.165285989611558 (code B ref 55441); Wed, 18 May 2022 07:45:02 +0000 Received: (at 55441) by debbugs.gnu.org; 18 May 2022 07:44:56 +0000 Received: from localhost ([127.0.0.1]:58822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrEMa-00030L-FO for submit@debbugs.gnu.org; Wed, 18 May 2022 03:44:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrEMZ-000307-7a for 55441@debbugs.gnu.org; Wed, 18 May 2022 03:44:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52732) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrEMS-0000hD-FM; Wed, 18 May 2022 03:44:49 -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=kMKHn58GXMVX1KMaJKDhUPJqpMbfeLi7XWhaat8g1Cg=; b=GEjWfh/dzXpzKIhbnAX4 Dwv0mNJXIZDCod7YGEc5l2mLvFuHQwl97SUbAt/SYt/c+Kk3VhPpGGbQ08Vd18qLqLviwBYnK3BVQ tJml9lMXAJc7xt3QDsy0cpB9N/eJ/Yn8LbKbOagxoLiGC0lCT/8BXcrZ6Nj6EiJGR8UjKd7iAEDDJ 2wTe6sFN01POfWTOpcMxNiEA504c8LeG+HrXNSfpyK5mc+P6NCYY3sQlLDED4GQ+q3Y0oSohhHm/y htSFxcVhlOJ8I5qbYyyUuDf9qjV9dZwd/BJkUJMDaJc0ckZ2KW4A6FimAQwKsFjHz6dFJJ2Ma//0R 11LnTlNu306dFg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:53220 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrEMS-0003ee-28; Wed, 18 May 2022 03:44:48 -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> Date: Wed, 18 May 2022 09:44:44 +0200 In-Reply-To: <87fsl87gb5.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 17 May 2022 09:45:50 +0200") Message-ID: <874k1n5loz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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" 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=1652860066; 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=kMKHn58GXMVX1KMaJKDhUPJqpMbfeLi7XWhaat8g1Cg=; b=fRUVWZmXnTUgH/WMKy0b5eQFSxTrP2zv7ijl6h5BmStOLp1yX3XARHNkhA2/GL47vCKQ9d TogiV3mAuvRMb1VxSy9eNA+ouWFy577mrrED6mIefY70NOxDzKwMe+k9PLBoG3WDseVPGF IrXtZzV9cZrXoEOyrMWNOxCvosjFzk3mkJ1YRjIjfFhA3syYmxGdpZzmEg7eUiTGaM40Tg Ls2paVkjPS5PIAaXiDfS0IvfWDNff/4l8Q2Q3jWIgAP6PqKa7Nb+pRPZRXogPi0xHQAthy SZxmHmIaJgpmLcpSzf/LPsYXmPRAJG2mwmmP0s9gDofp25g0rzNJUkBK6z2fxQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652860066; a=rsa-sha256; cv=none; b=ZA5een2gT+jGIBHM9ZNoFTJQS47yZySADfehng7Jj//w8Pk188CDCM3dMQnhpE7kcFYyFP w0HURFKbc+4YxPuMGUcUQdNk9RQZ7M8XeT9VTSaOfBfBpiycURVP3pT+1AwQ+PCjAuslb1 QARKOa9JBOlHp3yvurmYoG/fLhOPCOPr8cnlnvNNCJMNAZOkfObbbgPawc/deI9IPeM28I hvEuDKGgFJaZLWFkaVzQgYYT32OspgmvLLQbCkD5doB9XKhSVJEmQrc9lvv0OyJFyz4D78 7QgEsE4//wYnTBygeKBgHE1svolMqE5/jc/GbRyjy3DB2KOi+fbtVWHpZliv0Q== 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="GEjWfh/d"; 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.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="GEjWfh/d"; 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: 9CA482B0FD X-Spam-Score: -5.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: JkHRhawoYWRB Hi, Ludovic Court=C3=A8s skribis: > Hi, > > Maxim Cournoyer skribis: > >> Berlin was reconfigured with this commit of Cuirass, and is now running >> the derivations with it, but so far still "In progress..." after more >> than 100 minutes [0] > > Yeah, I=E2=80=99m not sure about the backtrace you report, however there= =E2=80=99s again > a bunch of =E2=80=98cuirass evaluate=E2=80=99 processes hanging, this tim= e with the main > thread stuck on =E2=80=98waitpid=E2=80=99 (presumably from the =E2=80=98c= lose-inferior=E2=80=99 call): An update: I ran this by hand: --8<---------------cut here---------------start------------->8--- $ sudo su - cuirass -s /bin/sh -c "/gnu/store/z8haznhwck4bjm4gxqy25wvwv4041= wvx-cuirass-1.1.0-12.f087aaf/bin/cuirass evaluate dbname=3Dcuirass 326988" Computing Guix derivation for 'x86_64-linux'... -^- warning: call to primitive-fork while multiple threads are running; further behavior unspecified. See "Processes" in the manual, for more information. warning: call to primitive-fork while multiple threads are running; further behavior unspecified. See "Processes" in the manual, for more information. warning: call to primitive-fork while multiple threads are running; furthwarning: call to primitive-fork while multiple threads are ru= nning; further behavior unspecified. See "Processes" in the manual, for more information. warning: call to primitive-fork while multiple threads are running; further behavior unspecified. See "Processes" in the manual, for more information. warning: call to primitive-fork while multiple threads are running; further behavior unspecified. See "Processes" in the manual, for more information. --8<---------------cut here---------------end--------------->8--- =E2=80=A6 and attached =E2=80=98strace=E2=80=99, which shows things are wor= king as intended: --8<---------------cut here---------------start------------->8--- read(228, "r6x878i3fyr12lf9v496cl9x5jh6-gzip-1.10.drv\" \"/gnu/store/6280r7= vqfp5qkv6cdib02203xw1sk7h3-binutils-cr"..., 4096) =3D 4096 read(228, "pper-0.drv\" \"/gnu/store/45wsr6x878i3fyr12lf9v496cl9x5jh6-gzip-= 1.10.drv\" \"/gnu/store/6280r7vqfp5qkv6c"..., 4096) =3D 4096 read(228, "8qy2pnpn2030xxfmm56h71-gettext-0.21-doc\") (\"out\" . \"/gnu/sto= re/gmrqdvy9v42hfbs6b7vaxfrwf8b5qhqy-gett"..., 4096) =3D 4096 read(228, "\" \"/gnu/store/k5889v7ms3f5x1rjr3php71k4743fn19-bash-minimal-5.= 1.8.drv\" \"/gnu/store/lbyw1h3xz33qnb08j"..., 4096) =3D 4096 read(228, "x2g7ysm16xqnrpbkqdc4hhni1r42dgg-patch-2.7.6.drv\" \"/gnu/store/3= fy0f7gy85ddy6rpa4mmhjygns8qzk03-findut"..., 4096) =3D 4096 read(228, "08s1nz9bpv6k6a56idv6l7r2zjqphszl-file-5.39.drv\" \"/gnu/store/1x= 2g7ysm16xqnrpbkqdc4hhni1r42dgg-patch-2"..., 4096) =3D 4096 read(228, "tore/azdhavgwpjc527n81iqwrf91v8sv3x23-help2man-1.48.5.drv\" \"/g= nu/store/b1pi5ssin56s4mqq6964hsh2bdkyd"..., 4096) =3D 4096 read(228, ") (#:nix-name . \"guix-1.3.0-25.c1719a0\") (#:system . \"x86_64-= linux\") (#:max-silent-time . 3600) (#:t"..., 4096) =3D 121 close(228) =3D 0 wait4(83882, # hangs forever --8<---------------cut here---------------end--------------->8--- The question to me becomes: why is =E2=80=98guix repl=E2=80=99 not getting = EOF from its read(0, =E2=80=A6) call? FWIW, here=E2=80=99s an estimate of the amount of data transferred from the inferior to the main process: --8<---------------cut here---------------start------------->8--- $ grep 'read(228, .* =3D 4096$' 8--- I=E2=80=99m trying to reproduce that synthetically. Ludo=E2=80=99.