From patchwork Wed Mar 26 16:51:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 40860 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5CF0827BBEA; Wed, 26 Mar 2025 16:52:59 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1AD9E27BBE2 for ; Wed, 26 Mar 2025 16:52:59 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1txTzs-0004Jx-P0; Wed, 26 Mar 2025 12:52:56 -0400 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 1txTz9-00045P-Rw for guix-patches@gnu.org; Wed, 26 Mar 2025 12:52:12 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1txTz1-0007WI-0v for guix-patches@gnu.org; Wed, 26 Mar 2025 12:52:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=gKI5dMXI0sDlCCCNGZpFka8Qpc+H6GgunfDTs5URY5s=; b=azt0PfEPc6sKiL9/s8kjm2pr2L6RaOy776OeDzoAYqOpRpDoj5uj5sNG6rvZC3+iR5XqhwYO1sGDgpd9P+WQHUPL4PyJkyq3VGfxOlXUmnx5Vs0uJw76lnwmmJZZG6bwXVj4BCKHHKG4ZVIjrMlpux3EkRTuYJg0vVPKuMHDMQQHQo/0dL+zgS+L5HiNNYeVnzL3y+mZsoLUtzL58HHg37c86bcnJveNEdpfkCC0syf6nuDVV2kgKpLLoNu82iNTQg68BpUKNfUh2wusgWwe/x0uBC3NG2dOOtINiPvGSBSIefOpzlxRJO6Kpe+92k0y862y/j16YD8INBsHMcYOrg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1txTz0-0000ay-Se for guix-patches@gnu.org; Wed, 26 Mar 2025 12:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77288] [PATCH 4/6] tests: guix-daemon: Wait for the =?utf-8?b?4oCYZ3VpeC1kYWVtb27igJk=?= service to be up. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 Mar 2025 16:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77288 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77288@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 77288-submit@debbugs.gnu.org id=B77288.17430079062223 (code B ref 77288); Wed, 26 Mar 2025 16:52:02 +0000 Received: (at 77288) by debbugs.gnu.org; 26 Mar 2025 16:51:46 +0000 Received: from localhost ([127.0.0.1]:44147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1txTyj-0000Zg-Nh for submit@debbugs.gnu.org; Wed, 26 Mar 2025 12:51:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58056) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1txTyW-0000YX-IF for 77288@debbugs.gnu.org; Wed, 26 Mar 2025 12:51:32 -0400 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 1txTyQ-0007LV-UK; Wed, 26 Mar 2025 12:51:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=gKI5dMXI0sDlCCCNGZpFka8Qpc+H6GgunfDTs5URY5s=; b=XGGZ3pdrQdJhVLNKdgnE 40JHK2xPElvs4JKrwocE9Xz0nc1otqFaxl7nhlvt+bHy/p0HzFwrWmFKc7rkMXZVHKAdPE9H2DFf2 73lZ38UEErgG20BWQK5T8n4oR4CRdOG4M4exKJGKPo52PTPqw1jE8APvhRe7qsa3AQiDLegkOGwO1 rz20eTiEgZerCSG9Q5HIXDL+IlGZ3itbXcW41ohpvqGu5CYfqMeW9eK4Jsa6u0o87ut4BnlRkbuEP T0iOChkbX088nz+08SnPBWsNvwYqKKEZJylUq6jK80PIGldIbKXhJsjnM6hAedApptH/PGFy0/9BA 0yMNiHxjxaF/Rg==; From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Wed, 26 Mar 2025 17:51:05 +0100 Message-ID: X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/tests/base.scm (run-guix-daemon-test): Add “guix-daemon service is up” test. Change-Id: I4d44a1248599fec45c854c285d4da201c30eb00c --- gnu/tests/base.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/tests/base.scm b/gnu/tests/base.scm index 0f7fb543a7..83e047f7e6 100644 --- a/gnu/tests/base.scm +++ b/gnu/tests/base.scm @@ -1157,6 +1157,13 @@ (define (run-guix-daemon-test os) (test-runner-current (system-test-runner #$output)) (test-begin "guix-daemon") + (test-assert "guix-service is running" + ;; Wait for 'guix-daemon' to be up. + (marionette-eval '(begin + (use-modules (gnu services herd)) + (start-service 'guix-daemon)) + marionette)) + #$(guix-daemon-test-cases #~marionette) (test-end))))