GNU bug report logs - #77578
[PATCH] tests: docker-system: Use only guix-daemon service.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Oleg Pykhalov <go.wigust@HIDDEN>; Keywords: patch; dated Sun, 6 Apr 2025 15:09:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Apr 2025 15:08:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 06 11:08:03 2025
Received: from localhost ([127.0.0.1]:49130 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u1RbO-00013J-Kg
	for submit <at> debbugs.gnu.org; Sun, 06 Apr 2025 11:08:02 -0400
Received: from lists.gnu.org ([2001:470:142::17]:48378)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <go.wigust@HIDDEN>)
 id 1u1RbM-00011w-M5
 for submit <at> debbugs.gnu.org; Sun, 06 Apr 2025 11:08:01 -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 <go.wigust@HIDDEN>)
 id 1u1Rb9-0005do-8L
 for guix-patches@HIDDEN; Sun, 06 Apr 2025 11:07:49 -0400
Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <go.wigust@HIDDEN>)
 id 1u1Rb7-0006Kt-Fj
 for guix-patches@HIDDEN; Sun, 06 Apr 2025 11:07:47 -0400
Received: by mail-lf1-x129.google.com with SMTP id
 2adb3069b0e04-54acc04516cso4088779e87.1
 for <guix-patches@HIDDEN>; Sun, 06 Apr 2025 08:07:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1743952061; x=1744556861; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=flIzcGguFCw3SdS3hCq9oCBomWOQvxcYtW7r3ovcms8=;
 b=ZlrNStuKNglJnHndZjctzmPeHOMzBdYMBgOD2rDTygRq1K820TJRaTvr4lwu6QgrqZ
 gQun/TX8KLor4K3srusIdp4i/NxFb/ZOrZCpZEWhfhE//YZI8JSJGgeVNP4RyMiTZpqZ
 2V9iHleSjgQZyVIFlDki8TXSUD012eTmvWKIdOYT3ttVpXb6ZRPzmlJTDGQh392rKI48
 uPMfGvYU2Ju0hmY4Xvh7azu5jWO+DgdhNyJ0AKoS3uxITP32Ssk/xkc9Hg8bnMFDVdfd
 DoYsmWt1ByuASKfgnsTyq/H+fevvGjSB9BNO2uZuW2XVGFcWvvfr1Fl35dJTiAKtNIi9
 CYNA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1743952061; x=1744556861;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=flIzcGguFCw3SdS3hCq9oCBomWOQvxcYtW7r3ovcms8=;
 b=asJLKJdAjJ7jMh8+RlrcTSfEzqr69dzwD+gx9oXiCZU4IgZf3nyaHpTWS4QZ8Ro7gI
 cZ5pSpFJMXnzKiKkKdcP3WSFrJTuCnBBL0POO0g5hAx3y8upYiB+ZdaYpU6i7Pug73IS
 2xmIYUPQWUEDQlpxoAWCjwgCBsoGwhkIL6N3f9EbeWb62oXOaf7Nbc11ZJNyk5pR/iuH
 cfLxqgqELQt8R+YmLz4MYRoQTScRbm+MsAlwap2IL/wDhR6nL/EFJda8gHXoLEDy4xzL
 kEkAhqA3v4EOVjWCi40QFvof6XQiFbDuzeI0pHX9r77DMjBGLJ5QbZIH6PLAVgJqE+oj
 YINg==
X-Gm-Message-State: AOJu0Yzvb99r40cNNI2sVXI/dXsrxab6/AAHnhCE0OfAnj9DRg5j3sXh
 koTiQVbz+v3vjp3lOsRTyLlSn2LWGH2uFZHnEvIt9yC6zwU7qJvX4RvYeKMu
X-Gm-Gg: ASbGnct5jrbdlpb1fDGQq9QHITy+O8s4XzCj27fSMTjxmtxGBMWEqd4OQmtsNWmngr0
 cvMAGgSwwSXHvs8tiuIJQA3PWVH+RbreMZTErC/pWgSDBH5PDRe67rWwAXlkds/FHOSG2Lm++6u
 s420YWf3TnESGTyvX1qfhl0rV7k3JvGLTxnr19TpBBKqgoeE0ym89EWxCMqJCyblOw8Wrzw0mIU
 iQqn1JMwBGel88qumhYwC0dDpYVEuh/KQeIPnt6o7uvVTbHdyYZ7Qu0/sTPen52eelBbzp9DuIc
 rnVTCt1WkngXokvvDs+Qv3+3aUqIpNK9E0atvzfmUzSg52r9BA6CN/I=
X-Google-Smtp-Source: AGHT+IEeavBKMq9W5T+6ov38fd1HRTqGGuyLQai06AYR8zIlqpAuEMrTDE4NhVmZvsKLOKzx7yOQyA==
X-Received: by 2002:a05:6512:3e1d:b0:549:b179:e905 with SMTP id
 2adb3069b0e04-54c297b8043mr1330801e87.9.1743952061120; 
 Sun, 06 Apr 2025 08:07:41 -0700 (PDT)
Received: from localhost.localdomain ([93.100.15.190])
 by smtp.gmail.com with ESMTPSA id
 2adb3069b0e04-54c1e65d785sm991969e87.198.2025.04.06.08.07.40
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 06 Apr 2025 08:07:40 -0700 (PDT)
From: Oleg Pykhalov <go.wigust@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] tests: docker-system: Use only guix-daemon service.
Date: Sun,  6 Apr 2025 18:07:01 +0300
Message-ID: <20250406150701.10549-1-go.wigust@HIDDEN>
X-Mailer: git-send-email 2.47.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2a00:1450:4864:20::129;
 envelope-from=go.wigust@HIDDEN; helo=mail-lf1-x129.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: Oleg Pykhalov <go.wigust@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

The test run-docker-system-test was hanging on:

(docker-cli "exec" container
             "/run/current-system/profile/bin/herd"
             "status")

This occurred because %test-docker-system specified more services than
gnu/system/examples/docker-image.tmpl, which may have caused conflicts or
unexpected behavior.

* gnu/tests/docker.scm (%test-docker-system): Simplify by using only the
guix-daemon service to prevent test hangs.

Change-Id: I2c3f7bc54fa6b5a802c8e16cba6ffae0cd09d4cc
---
 gnu/tests/docker.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/tests/docker.scm b/gnu/tests/docker.scm
index 90c8d0f850..e528064c2b 100644
--- a/gnu/tests/docker.scm
+++ b/gnu/tests/docker.scm
@@ -26,6 +26,7 @@ (define-module (gnu tests docker)
   #:use-module (gnu system image)
   #:use-module (gnu system vm)
   #:use-module (gnu services)
+  #:use-module (gnu services base)
   #:use-module (gnu services dbus)
   #:use-module (gnu services networking)
   #:use-module (gnu services docker)
@@ -345,7 +346,9 @@ (define %test-docker-system
                                    (inherit (simple-operating-system))
                                    ;; Use locales for a single libc to
                                    ;; reduce space requirements.
-                                   (locale-libcs (list glibc)))
+                                   (locale-libcs (list glibc))
+                                   ;; Guix is all you need!
+                                   (services (list (service guix-service-type))))
                                  #:type docker-image-type)))
                  run-docker-system-test)))))
 
-- 
2.47.1





Acknowledgement sent to Oleg Pykhalov <go.wigust@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#77578; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 6 Apr 2025 15:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.