From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2EUOGm8hmWJBTwEAbAwnHQ (envelope-from ) for ; Thu, 02 Jun 2022 22:45:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kOLhGW8hmWKbKwEAauVa8A (envelope-from ) for ; Thu, 02 Jun 2022 22:45:35 +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 EBDEDC16A for ; Thu, 2 Jun 2022 22:45:34 +0200 (CEST) Received: from localhost ([::1]:39128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwrhF-0003a1-To for larch@yhetil.org; Thu, 02 Jun 2022 16:45:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51706) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwrgl-0003Zf-7P for bug-guix@gnu.org; Thu, 02 Jun 2022 16:45:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60778) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwrgk-0006ss-TR for bug-guix@gnu.org; Thu, 02 Jun 2022 16:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nwrgk-0004sa-Nc for bug-guix@gnu.org; Thu, 02 Jun 2022 16:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54786: Installation tests are failing Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 02 Jun 2022 20:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54786 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: othacehe@gnu.org, 54786@debbugs.gnu.org Received: via spool by 54786-submit@debbugs.gnu.org id=B54786.165420265618669 (code B ref 54786); Thu, 02 Jun 2022 20:45:02 +0000 Received: (at 54786) by debbugs.gnu.org; 2 Jun 2022 20:44:16 +0000 Received: from localhost ([127.0.0.1]:54675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwrfz-0004r3-NI for submit@debbugs.gnu.org; Thu, 02 Jun 2022 16:44:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwrfu-0004ql-Qe for 54786@debbugs.gnu.org; Thu, 02 Jun 2022 16:44:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwrfp-0006jm-6B; Thu, 02 Jun 2022 16:44:05 -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=jrXNK6Ioote5WwYZX2wT0WQZOm0emmvz+EYP1KCf5nE=; b=arFQydA7qCUZDtSdHeuJ IErr25AytoyZ2tq3NNEWbTqLNANkE7vb+WNBI5vCKfSYxhRJs5I+MFJ1KU73bdx1qITa7jw3NXyRA 559X/Yh2kjK0ZCKXavztXKdfdZHWkomFscCopddeHh04HITXWdV6M+J9zbqe2HkcouiB/Gxo5Wr1a PwAXSSn8ROOme2j4xQStPjR16MpJLSP7/gkP3ah3jozKNydCCFnJT2LytQ/3a3vdDGyoRrzHNsqOW yMjtI3cUMGXha2vNnheY0dMYCypFsa1OcAMNJBIrsTne8dXa03R6wrmer16nJtnUxCuECExPD8EBA 7mHuWjrL80zEUA==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=47202 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwrfm-0002CN-Mo; Thu, 02 Jun 2022 16:44:03 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <878rql9wh9.fsf@gnu.org> <20220531164407.13914-1-maxim.cournoyer@gmail.com> <87o7zcwvy6.fsf_-_@gnu.org> <878rqgr0l4.fsf@gmail.com> <8735gnqkcp.fsf@gnu.org> <877d5zx9jt.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 14 Prairial an 230 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de l'Acacia 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: Thu, 02 Jun 2022 22:43:58 +0200 In-Reply-To: <877d5zx9jt.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 02 Jun 2022 13:24:54 -0400") Message-ID: <87v8tilrsh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (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=1654202735; 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=jrXNK6Ioote5WwYZX2wT0WQZOm0emmvz+EYP1KCf5nE=; b=kGjCh7RBiSp3bE04xHJDvkJj2fe2bq9BB7NyRJf/LGY0hS4HYkp1Xd7r2gF7C+b4UZSrLY pLkfqxIUuOhNWW7P9bpdVP7AZ2luy/gEikyiK2zNwg138ZZzfNxOFpRQZC6/cbU8rgtJiK HWl9utCJLGVOfESyeeGX/KUBiaCqKD4WnUEpZXhYOizUIjQPKOQUCSLvJrIjGUIzLMIV5p vxe0Zg7wCy67u4UOz+4KCHkQ8ACWUUyOIjFsuU43sZFuAyUSUaQY0nCV/qpALMxpilIPhi 71qgHGFJyrw3ciTXVdSo9A0mwksHA+hkiypNZqzr6xUr0Lftx1xBHzPHcwQ8Mg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654202735; a=rsa-sha256; cv=none; b=KkNtWUneGrceF6uu2LvdfeQ3RqGggN0KLpOTkjoU10WweIX3rSaXNnpveo1pzbi6dh664u ZDLAJxZjAL7Xpa6phWurSbSw0R4Qyn8fAZWYUJ80vmgKoHMm0/5NfeOdKtNSJ2JBJ9GkNs nHQnkEGYugYqxU+0aL8T6619nEj5ixRBoWRoWpWO5Cvt6I9+uwTN6VE96CUm1X+pxHk2OW MDXlpZnmpTkQN6rnCnJLMS/+uGdi6oIyt1aRwkpptyPu/+oNKuIQOKZM4WYoeI2LaYTsqx r2ggbiwtDF9bfx7tzDaLJfx3h4Yzq495Rq0NZm0QFkpEITivEBYQrsjULP043A== 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=arFQydA7; 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.73 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=arFQydA7; 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: EBDEDC16A X-Spam-Score: -4.73 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1Nr5XrRRgP9E Howdy! Maxim Cournoyer skribis: > I tried capturing the issue in the commit message, but I'll provide > another more hands-on view: the Jami service was broken due to changes > in Shepherd 0.9.0 that caused the blocking sleeps + concurrent > make+forkexec-constructor/container and fork+exec-command combination > used to not work anymore. OK. Thanks for sharing the strace log; at first sight I don=E2=80=99t see = any clear clue, but hey, maybe it=E2=80=99s fine to leave that as a mystery sin= ce there=E2=80=99s another solution. [...] >> Longer-term I think this should go in Jami proper though. It=E2=80=99s = great >> that Guix has an edge over the competition :-), but having to maintain >> it is less nice. > > Perhaps with the Scheme bindings introduced by Olivier for the Jami > tests (that work via an embedded libguile), it could be possible to add > the ability to pass an init script to 'jamid' at launch time, which > would automate importing the account. Proper 'Scheme' bindings would be > nice though, and I'd like to look into the feasibility to add these via > Swig. Food for thought. Sounds fun. (BTW, I=E2=80=99d recommend against SWIG: it=E2=80=99s not =E2= =80=9Cpretty=E2=80=9D, leaves a lot of work to do, including wrapping the generated wrappers and debugging memory management issue. Using the FFI provides more flexibility and is much more fun IMO.) >> Also, in more concrete terms: one goal of the least-authority work at >> is to remove >> =E2=80=98make-forkexec-constructor/container=E2=80=99 and the whole (gnu= build shepherd) >> module. Jami is one of its last remaining users (adjusting it felt like >> beyond my abilities, precisely because it=E2=80=99s much more complex th= an the >> other services I adjusted). >> >> Could you take a look at that eventually, once this patch has been >> reviewed? > > I reviewed how that works, and it'd be easy; I just didn't see the > incentive yet (there's no composition needed for the service, and it'd > make the definition slightly less readable). If you tell me > mark+forkexec-constructor/container is going the way of the Dodo though, > that's a good enough incentive :-). Awesome. :-) Thanks for explaining! Ludo=E2=80=99.