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 6G7lBIamjWKJrAAAbAwnHQ (envelope-from ) for ; Wed, 25 May 2022 05:46:14 +0200 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 KLjkA4amjWKVYQAAG6o9tA (envelope-from ) for ; Wed, 25 May 2022 05:46: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 90E674793 for ; Wed, 25 May 2022 05:46:13 +0200 (CEST) Received: from localhost ([::1]:55380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nthyO-0001Bl-HU for larch@yhetil.org; Tue, 24 May 2022 23:46:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nthwI-00082A-7x for bug-guix@gnu.org; Tue, 24 May 2022 23:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nthwH-0003WM-T4 for bug-guix@gnu.org; Tue, 24 May 2022 23:44:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nthwH-0005gM-O1 for bug-guix@gnu.org; Tue, 24 May 2022 23:44:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54786: Installation tests are failing Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 25 May 2022 03:44:01 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Mathieu Othacehe , 54786@debbugs.gnu.org Received: via spool by 54786-submit@debbugs.gnu.org id=B54786.165345021621801 (code B ref 54786); Wed, 25 May 2022 03:44:01 +0000 Received: (at 54786) by debbugs.gnu.org; 25 May 2022 03:43:36 +0000 Received: from localhost ([127.0.0.1]:54040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nthvs-0005fY-8T for submit@debbugs.gnu.org; Tue, 24 May 2022 23:43:36 -0400 Received: from mail-qk1-f169.google.com ([209.85.222.169]:39838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nthvm-0005fH-UD for 54786@debbugs.gnu.org; Tue, 24 May 2022 23:43:34 -0400 Received: by mail-qk1-f169.google.com with SMTP id 14so10372691qkl.6 for <54786@debbugs.gnu.org>; Tue, 24 May 2022 20:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=4DORaKH0NY7TY3IYS47c1Abnri2U7PQfapbki16QimU=; b=iY+abOHKY4iiACbxHtiXCJUvHcnQdCPxavsJvVfoKbT3ZlQ2PZUwLLqKLXABv7oe2P yHsS6xzsK8shaBepQrDkqnGSm66otTxFDCiwNu4znPiZtNjX/+zGGJajQYGedQ+KwuRV v27lj/Uw+o2uPghhX22Z1j0WlT7aiAmAlMMD7l1MX1KEDfexCPLLCvo9RMuGtFsdDX23 aesiLnRhhQ2UqZpg9c8PgGHqo+5BdIh3vEAVAr4ODQF8BSDHGUiKLrdgTny1Mt2+S0bi s2lWPNjcCddb0tfkXFnNnp/nUyGfaI9KI3AgcmGgt3jH/TiCbL6HP0PzZX0vEBxaurRU vZkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=4DORaKH0NY7TY3IYS47c1Abnri2U7PQfapbki16QimU=; b=SKtoSoWa0ZyTkxAX6H6wTknCFSGjxo18Pl+WxjuFj7kN0Un2MtZKNqRiXNBm92dz8R YfyMsf/tak3EGTBWRQSOwsn3LQR3wvRJfMjvka8/X8HVX/SzfePwJw8oyRZNU9VfE9G6 J50O7eX0yoQqkdi8C98aBbSpKyCJE+M6N8c9DE9RnK7CMMeOCeuMRgWQNDH79h+L2qbv dIsiyji47i40K7UOHyEwUcbHn5nO8eUxocKn0dIe07VPlBNjxT+yqK++5Go+phZdAApy +bgMa4DQiNiJtOVlq21clEfSqiD5AHxSLzWZhRn/HBbf2MKRI8yM9KIocfc62imlV0Lm rdQA== X-Gm-Message-State: AOAM533x4b+9wUNqwwLJeW4GH7FomSt5eeAPh77fyH+Qe0pWQWEEfORe 5+ApslqPdr+t1ITEaC+9LbJnOFKGQapvUQ== X-Google-Smtp-Source: ABdhPJxlm3LUHm7zZQmm8nqKff/UMwxGVIGlYSdgsNCo+j5ZthHI8LHJ5B7P9eYpjxukVrYDNeG1iA== X-Received: by 2002:a05:620a:3714:b0:6a5:564b:222f with SMTP id de20-20020a05620a371400b006a5564b222fmr5023908qkb.648.1653450205063; Tue, 24 May 2022 20:43:25 -0700 (PDT) Received: from hurd (dsl-157-33.b2b2c.ca. [66.158.157.33]) by smtp.gmail.com with ESMTPSA id b126-20020a379984000000b006a32c991501sm692563qke.12.2022.05.24.20.43.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 May 2022 20:43:24 -0700 (PDT) From: Maxim Cournoyer References: <87r167rjhv.fsf@gnu.org> <87v8vjwqzk.fsf@gnu.org> <87zgk5brkd.fsf@gnu.org> <87y1zpaud6.fsf@gnu.org> <87mtg3655a.fsf@gnu.org> <875ymqwwq8.fsf@gnu.org> <875ymp4c5f.fsf@gnu.org> Date: Tue, 24 May 2022 23:43:23 -0400 In-Reply-To: <875ymp4c5f.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 01 May 2022 15:26:20 +0200") Message-ID: <87a6b646qs.fsf@gmail.com> 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=1653450373; 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=4DORaKH0NY7TY3IYS47c1Abnri2U7PQfapbki16QimU=; b=JimYrvZknnVunZjeierxZpQ8pCsu9E/c/9LB87pqzyga+JP/BoJkbQxMvlaKRL0RGzu4SS Ydm0vKCUt5Xf5xfxvp8+509u34BhzKKZ/zqVBViFIBjez8geuthxlX7wxBJwslrxPXmQLt 3d+qpsppD6n3dFPf8JBQQY+3uJxmUQiLHMGuLfYd3SKMaKuK0+zKj9957+M2OHEAb8FW7R gOuJSfyrgdy7/UCKlLQaCB8ExqN6TgopsDzn3h8r8VCV2edY/jYooi/2V1JzOtiU/5PIW3 IIoz3Iy7MpLM5y7KzsEzLGUnxji5s+GSNJfdoymxu+Fpx1gXKnQZSwKxdJChpw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653450373; a=rsa-sha256; cv=none; b=cSY/vHXC81KLkX7/GdFbeA67UIcxdtyS0TuyrOPLbvJOa/kflZYVkQAaV/iYDiKEcbIkys tv/iOFpEkiuwwErhlPbTcKk03tEtvCvlZXb2/PUr6YzWlfiSXkub+12RKTQbn2aKKMlg4t CkLn5tRTj+S1izhxHMI8slNK/86f0oy+YwtHCCL3LKf65wjxfmznj5ymddEXjZBHIkCYLi ui9TUq79d6x5sEH6BRN65Q/9NIjIPOHZ4yJsunj4xMJ18g8OBhk2CIwakDmEpnEMCfJSQR nOjg1wBNjDwf5xKWV33H4+s5iUrALQekGa1pBNl8uQNEVYVE20jIBa6k/4TFAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iY+abOHK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 5.15 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iY+abOHK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 90E674793 X-Spam-Score: 5.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: x1w8fIIcpIbe Hi, Ludovic Court=C3=A8s writes: > Hi, > > Mathieu Othacehe skribis: > >> Thanks for the fix! The jami and jami-provisioning tests are also broken >> because of what looks like to be the same issue: >> >> One does not simply initialize the client: Another daemon is detected >> /gnu/store/01phrvxnxrg1q0gxa35g7f77q06crf6v-shepherd-marionette.scm:1:17= 18: ERROR: >> 1. &action-exception-error: >> service: jami >> action: start >> key: match-error >> args: ("match" "no matching pattern" #f) >> Jami Daemon 11.0.0, by Savoir-faire Linux 2004-2019 >> https://jami.net/ >> [Video support enabled] >> [Plugins support enabled] > > Yes, I noticed that, but I=E2=80=99m not sure how to apply a similar work= around. I tried fixing that today, but so far I've only managed to understand what seems to be going wrong, with this (not so great) workflow: 1. Add pk uses in the code. 2. $(./pre-inst-env guix system vm --no-graphic -e '(@@ (gnu tests telephony) %jami-os)' --no-offload --no-substitutes) -m 512 -nic user,model=3Dvirtio-net-pci,hostfwd=3Dtcp::10022-:22 3. ssh -o UserKnownHostsFile=3D/dev/null -o StrictHostKeyChecking=3Dno -p 10022 root@localhost and poke around with 'herd status', read /var/log/messages, experiment with dbus-send, etc. This allowed me to find out that (dbus-available-services) appears to be broken. I'm not sure why the exceptions are reported so badly by Shepherd (are exceptions raised with 'error' not handled by Shepherd or something? -- the with-retries loop should end up printing the caught exception arguments -- I would also have expected to see the backtrace somewhere. Anyway, connecting to another machine that is running the jami-service-type still (hasn't been reconfigured in a while), I could see: --8<---------------cut here---------------start------------->8--- scheme@(guix-user)> ,use (gnu build jami-service) scheme@(guix-user)> (dbus-available-services) ;;; Failed to autoload fork+exec-command in (shepherd service): ;;; no code for module (fibers) ice-9/boot-9.scm:1685:16: In procedure raise-exception: error: fork+exec-command: unbound variable --8<---------------cut here---------------end--------------->8--- Oh yes, so it now requires guile-fibers. After installing it: --8<---------------cut here---------------start------------->8--- scheme@(guix-user)> ,use (gnu build jami-service) scheme@(guix-user)> (dbus-available-services) ice-9/boot-9.scm:1685:16: In procedure raise-exception: No scheduler current; call within run-fibers instead --8<---------------cut here---------------end--------------->8--- So the users of fork+exec-command (a public API) needs to be adjusted. I suspect that's the crux of the issue here. The rest (the jami tests using Shepherd's start-service to check the service status and causing multiple starts) should be easy to workaround. To be continued... Maxim