From unknown Sun Jun 22 00:31:31 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75203] Fix rootless podman system tests and support I/O delegation Resent-From: paul Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Dec 2024 15:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75203 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 75203@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17355740912564 (code B ref -1); Mon, 30 Dec 2024 15:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Dec 2024 15:54:51 +0000 Received: from localhost ([127.0.0.1]:59565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSI6V-0000fI-8u for submit@debbugs.gnu.org; Mon, 30 Dec 2024 10:54:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:57182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSI6R-0000f2-6V for submit@debbugs.gnu.org; Mon, 30 Dec 2024 10:54:49 -0500 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 1tSI6P-0007LY-OL for guix-patches@gnu.org; Mon, 30 Dec 2024 10:54:46 -0500 Received: from latitanza.investici.org ([2001:888:2000:56::19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSI6L-0004H8-UR; Mon, 30 Dec 2024 10:54:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1735574077; bh=bE5lSygv8tg6QKCvjlNcWGtoRaPrFumKXuMgHDIVjTA=; h=Date:To:From:Subject:Cc:From; b=NjS2th45spH22yZDhiyd27sQQIehnvHRxHxolubdMwXebv4fr2naj8G+lAu+CKKQy 46l8IOyA93vuaTaJPk1O2PUOXiIN9o0IsAUBb9prrCRO9j8Pl32Y7tGZnStcOaqs0E +yS4/wQlPOAPCWM90FLadZQ85qvlddFEp2XrhyRU= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4YMLJY2cx5zGp3d; Mon, 30 Dec 2024 15:54:37 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4YMLJY1VgBzGp0p; Mon, 30 Dec 2024 15:54:37 +0000 (UTC) Message-ID: <1881b153-9191-4322-8c71-195b5eef5651@autistici.org> Date: Mon, 30 Dec 2024 16:54:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: paul Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=goodoldpaul@autistici.org; helo=latitanza.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi Guix, since rootless Podman tests are failing on CI ( https://ci.guix.gnu.org/build/7694600/details and past jobs), but are working on my machine ( :) ), I'm sending a patch adding a delay to allow services to start also on slower machines. I'm using this occasion also to introduce a minor change (implement rootless I/O controller delegation) required for correct cgroups v2 setup, according to [0]. Thank you for all your work, giacomo [0]: https://rootlesscontaine.rs/getting-started/common/cgroup2/ From unknown Sun Jun 22 00:31:31 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75203] [PATCH 2/2] services: rootless-podman: Enable I/O delegation. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Dec 2024 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75203 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 75203@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 75203-submit@debbugs.gnu.org id=B75203.17355741563111 (code B ref 75203); Mon, 30 Dec 2024 15:56:02 +0000 Received: (at 75203) by debbugs.gnu.org; 30 Dec 2024 15:55:56 +0000 Received: from localhost ([127.0.0.1]:59577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSI7X-0000o4-IU for submit@debbugs.gnu.org; Mon, 30 Dec 2024 10:55:55 -0500 Received: from devianza.investici.org ([198.167.222.108]:57143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSI7U-0000nk-O4 for 75203@debbugs.gnu.org; Mon, 30 Dec 2024 10:55:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1735574151; bh=KlFKZwcGlyOoUx2MPf1s6+9XS0yZ33UYPrTPvjkXgv4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tNoRLfQLro8F9FJzdRAcVB1r6uyp1sX1PwR+q4pxTopIVwYrvqIdOQJvRIGYGfKLD eLSn2Ez4mifyzsUqJJVXsYLhVJOOlv/XaRLyrqUe3eXbhN8+gis680E7FYTlfscTE6 hSG6ZLu/g1KAqvp6wrShol0RZzoddXduaUV8JsME= Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4YMLKz3Kgtz6vHK; Mon, 30 Dec 2024 15:55:51 +0000 (UTC) Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4YMLKz26jtz6v8V; Mon, 30 Dec 2024 15:55:51 +0000 (UTC) From: Giacomo Leidi Date: Mon, 30 Dec 2024 16:55:22 +0100 Message-ID: <12e82593ce1847876ab020ac1b9097ec58284d0f.1735574122.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <6ef8d0e4837ab1e623afc117d94062085ef2abe8.1735574122.git.goodoldpaul@autistici.org> References: <6ef8d0e4837ab1e623afc117d94062085ef2abe8.1735574122.git.goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Based on https://rootlesscontaine.rs/getting-started/common/cgroup2/#enabling-cpu-cpuset-and-io-delegation , this patch enables I/O delegation for cgroups v2 enabled users. * gnu/services/containers.scm (cgroups-limits-entrypoint): Enable I/O controller delegation. * gnu/tests/containers.scm: Test it. Change-Id: I7caba33695f11830bea477c4ab3afb89cfaa2fa5 --- gnu/services/containers.scm | 2 +- gnu/tests/containers.scm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/services/containers.scm b/gnu/services/containers.scm index d8f533f44c..cb4b617e4b 100644 --- a/gnu/services/containers.scm +++ b/gnu/services/containers.scm @@ -169,7 +169,7 @@ (define cgroups-limits-entrypoint #~(system* (string-append #+bash-minimal "/bin/bash") "-c" (string-append "echo Setting cgroups v2 limits && " - "echo +cpu +cpuset +memory +pids" + "echo +cpu +cpuset +io +memory +pids" " >> /sys/fs/cgroup/cgroup.subtree_control")))) (define (rootless-podman-cgroups-limits-service config) diff --git a/gnu/tests/containers.scm b/gnu/tests/containers.scm index 047010037e..ec8a9ad440 100644 --- a/gnu/tests/containers.scm +++ b/gnu/tests/containers.scm @@ -113,7 +113,7 @@ (define (run-rootless-podman-test oci-tarball) (sleep 60) (test-equal "/sys/fs/cgroup/cgroup.subtree_control content is sound" - (list "cpu" "cpuset" "memory" "pids") + (list "cpu" "cpuset" "io" "memory" "pids") (marionette-eval `(begin (use-modules (srfi srfi-1) -- 2.47.1 From unknown Sun Jun 22 00:31:31 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75203] [PATCH 1/2] services: tests: Add delay for rootless Podman system test. References: <1881b153-9191-4322-8c71-195b5eef5651@autistici.org> In-Reply-To: <1881b153-9191-4322-8c71-195b5eef5651@autistici.org> Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Dec 2024 15:56:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75203 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 75203@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 75203-submit@debbugs.gnu.org id=B75203.17355741603130 (code B ref 75203); Mon, 30 Dec 2024 15:56:03 +0000 Received: (at 75203) by debbugs.gnu.org; 30 Dec 2024 15:56:00 +0000 Received: from localhost ([127.0.0.1]:59579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSI7b-0000oO-Vf for submit@debbugs.gnu.org; Mon, 30 Dec 2024 10:56:00 -0500 Received: from devianza.investici.org ([198.167.222.108]:43633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSI7W-0000nu-7i for 75203@debbugs.gnu.org; Mon, 30 Dec 2024 10:55:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1735574146; bh=CLytuVJRgtRsbgPWZ4kn6UxgAerM92TWaV5gvel1yZA=; h=From:To:Cc:Subject:Date:From; b=digj25eunod13ztbkN0oK4WI3oFI8mU3JG8+aR9+wrutHRcpuojFv3XVfA0UpKURY KMI3jSXNui647U7MCryjDJJZyMtBZxyUQxCcQ+7Lc9Ku+iH7EkI+D7FNFspZs+ETpK cG7QZAOM8pb8fN0LzZcWNgq8LXOG7hEYRDWeINYk= Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4YMLKt44vhz6vHF; Mon, 30 Dec 2024 15:55:46 +0000 (UTC) Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4YMLKt316bz6v8V; Mon, 30 Dec 2024 15:55:46 +0000 (UTC) From: Giacomo Leidi Date: Mon, 30 Dec 2024 16:55:21 +0100 Message-ID: <6ef8d0e4837ab1e623afc117d94062085ef2abe8.1735574122.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/tests/containers.scm (run-rootless-podman-test): Add 60 seconds long delay before tests are actually run. Change-Id: Ifcf70f7258f9e0886bf829884d7daedc9803352b --- gnu/tests/containers.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/tests/containers.scm b/gnu/tests/containers.scm index ba2fb22df6..047010037e 100644 --- a/gnu/tests/containers.scm +++ b/gnu/tests/containers.scm @@ -109,6 +109,9 @@ (define (run-rootless-podman-test oci-tarball) (('service response-parts ...) #t))) marionette)) + ;; Allow services to start on slower machines + (sleep 60) + (test-equal "/sys/fs/cgroup/cgroup.subtree_control content is sound" (list "cpu" "cpuset" "memory" "pids") (marionette-eval base-commit: 18463019a24a7c5acc9c2f3ddf3c0ba04a36db96 -- 2.47.1 From unknown Sun Jun 22 00:31:31 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75203] [PATCH 1/2] services: tests: Add delay for rootless Podman system test. Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 31 Dec 2024 12:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75203 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 75203@debbugs.gnu.org Cc: goodoldpaul@autistici.org X-Debbugs-Original-To: Giacomo Leidi via Guix-patches via X-Debbugs-Original-Cc: Giacomo Leidi , 75203@debbugs.gnu.org Received: via spool by 75203-submit@debbugs.gnu.org id=B75203.17356499357393 (code B ref 75203); Tue, 31 Dec 2024 12:59:02 +0000 Received: (at 75203) by debbugs.gnu.org; 31 Dec 2024 12:58:55 +0000 Received: from localhost ([127.0.0.1]:34168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSbpm-0001vA-V8 for submit@debbugs.gnu.org; Tue, 31 Dec 2024 07:58:55 -0500 Received: from wolfsden.cz ([37.205.8.62]:47834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tSbpk-0001v0-E1 for 75203@debbugs.gnu.org; Tue, 31 Dec 2024 07:58:53 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 3010135836B; Tue, 31 Dec 2024 12:58:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1735649931; bh=N9WpNASXErTTzskhVVLCKAT54cGsjQMC2xXamk4YMKk=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=RX3E9SAQoNdS0zYYbTzbkyTiDjvsrvPRoDns9PVlaRN94LnPNSbExFp5I7fUn0zr6 eRLHvtmrQIAnNWOgmGqWWPZ272Q53wdL5zWK/uMkj0CS2yTNditHO33a3sWS07BdWG Bdd9N1AZugBkAoknZLmhRuAB9173FqNjFyHLJ1xTXgck5JcpR9GxsvU8J7c6ilSDMw ScxcKHdMTcnoVFXszvA7DJGBKJWR9clQRs7MpLiSv5efYih2LBUjtCKWmc29v5KIuh PFsZ/KsZoO1iATx6YUB3BHQgDrh1vDZoJxV+biCPwgkbxkm+vvosFU1jN9j6MDkCOT U8388Oz7Vd+bbWT9d7BgnXwyng8Kg4BXqpAitx7oapSuP72ToP2toDLKaisTcDEtb3 yrD2X956pyoN21oI93H1sdXaZofaJlsXWQY3+Dn1NqC01wCn1llTxXPbbjsYwZDVar HcI+biLAtREVRfdqDLns47A7/hrIsAEuabk8FXtLnWvmidFatNa1lB0gUuuA322AFq nsmnO4oflmQ2gJJQRLtQLA9Xlsfk122o5sxNnjtznDSTrOr66VX7wN7ZQutqGMncjT Mrut/9NStmHSbCxY9rKZSlFZM2+CfvBkmbKU9KegVz7X9gUHR5LFUNlVsZkgk65rnU 8RJRuYE7YJIsKlLoU0pbayNo= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 4D2B8359637; Tue, 31 Dec 2024 12:58:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1735649929; bh=N9WpNASXErTTzskhVVLCKAT54cGsjQMC2xXamk4YMKk=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=M8JEsulOf6/2SXJI1DeFMdyk2ScDTeGaXaGT4QdF1eYRDLBUTmmBF/wSFzRX+/nq+ qN3FRwH/2zKWrmP/h2hHLJAMY2ezt7msvKfyuE2KBzVEtJm+zaI9HcIIHfjv4g4k1i 1TswBZlQsmHkqb5wOUPKpMSjQm+W27Nmaa+stSVrruW9+mU2qvpebMwrImn5QMx4n/ 1Pveo0D9QTjlRAE1xuyhgZGEDYgDFGdA0HZil/NhPAXupgAtZh8VrThV+V9OxDS09J mtyrO5D5TE/wMj7yHGYrG7dCNbC2H4BXS0Qvqm4h0ASFrE/waCMpTDOr5vAGQgWMP/ mndbHHDa+u3iAq/j8HHQFRqDOdhBDOiOd+ArfE2CVnTB4WGMyqkg+JvBq3UOmlxzKk Iq27r73WPUAWPCr5qa1ynxbhla1pJFafdz6V/z7lofe2ijcaMKqgP8H4SS8brgJG4C VGdOL5CZRg/dbRp/4ReVA00DJsjZhMqCXV53qK8iPtbzDUyl9z3yloCvV3gZ1wa9ry tmfrlHTzE+dOu0hqPPrNsor4qJlYgvvX+vIAxyfTADvgIxkEhQO86JDL8k76oKZx+O EtTdVe5UgNYn7ofCog/X33IeUHq6TGXNsdoNhlyZyOatl7uOZqDzuHaQquORF1qnAF p/PiWtv9zhpcQ9KqrR+rh4aM= From: Tomas Volf <~@wolfsden.cz> In-Reply-To: <6ef8d0e4837ab1e623afc117d94062085ef2abe8.1735574122.git.goodoldpaul@autistici.org> (Giacomo Leidi via Guix-patches via's message of "Mon, 30 Dec 2024 16:55:21 +0100") References: <1881b153-9191-4322-8c71-195b5eef5651@autistici.org> <6ef8d0e4837ab1e623afc117d94062085ef2abe8.1735574122.git.goodoldpaul@autistici.org> Mail-Followup-To: Giacomo Leidi via Guix-patches via , 75203@debbugs.gnu.org, Giacomo Leidi Date: Tue, 31 Dec 2024 13:58:48 +0100 Message-ID: <87bjws2elz.fsf@wolfsden.cz> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Giacomo Leidi via Guix-patches via writes: > * gnu/tests/containers.scm (run-rootless-podman-test): Add 60 seconds > long delay before tests are actually run. > > Change-Id: Ifcf70f7258f9e0886bf829884d7daedc9803352b > --- > gnu/tests/containers.scm | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/gnu/tests/containers.scm b/gnu/tests/containers.scm > index ba2fb22df6..047010037e 100644 > --- a/gnu/tests/containers.scm > +++ b/gnu/tests/containers.scm > @@ -109,6 +109,9 @@ (define (run-rootless-podman-test oci-tarball) > (('service response-parts ...) #t))) > marionette)) >=20=20 > + ;; Allow services to start on slower machines > + (sleep 60) Would it be possible to detect whether the services started? This seems like needless test run time penalty for fast systems. Even a busy loop with (sleep 1) would be much better in my opinion. > + > (test-equal "/sys/fs/cgroup/cgroup.subtree_control content is = sound" > (list "cpu" "cpuset" "memory" "pids") > (marionette-eval > > base-commit: 18463019a24a7c5acc9c2f3ddf3c0ba04a36db96 =2D-=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmdz6ogOHH5Ad29sZnNk ZW4uY3oACgkQL7/ufbZ/waka1g//SMQN5PEOPiy77n/rZ3SqkAZHmSSzfNHk/LA9 ZCwh8WF8+Tlo9ol3I/81qBvknKBo8Buni8skW2dFJqcJHpV3zS6zPsTftKd9Nb+h ZX+y44bioYK6MfpQokN/8rwafXR/+XeP+mdIErwITzvULdrvuzWb07xMqldY4j5t vuM/YdGdlRX+0OUQjNUewMs9Wk1GMs27/YGqOnIAm664RDrc5s/nlzodbXClih4A VCIGfUf9rVp5gaYYs5+X2uDJ/HSDAUVVMua8lXfm+pRCzhBZdlIqTrQe4keFvC4q CuVYa8rwDvDv3y5E4a3krVCw4md4Y/18+8CdN+osuyXDbotHp7Cdmi7goVqqFz+i zrDOLbqzJtxMKs6L3/55Q+aMuLlMa36diOvT8RuNPL2qzc5+iA5updJP5MoL7Mzq ryn1aDRoZKp9wEi98aAL8RvC6mHVRUWB8Pm5mjuMgCYHFuehr0W/1x7ijN0HNErX ywq5kV5N1SrN6DhKjwHPJl/Q7UNlRt7xiaAL/DB76yaCS6/VZehpqNhYSKiCdljE MkeoWupzo/TYNm4y79z9zFVbRO8BavN0x2eCqlsu4ONmjixDFUGMZKeQ8+BlVvEZ dG31TG5RZJB7GYBtk8wQXjPby4cyNOsphVOb1moJK8QtjGNqFZ1+yf0scIwO3wXr LAOYfXo= =eSbL -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 00:31:31 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75203] [PATCH 1/2] services: tests: Add delay for rootless Podman system test. Resent-From: paul Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Jan 2025 21:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75203 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 75203@debbugs.gnu.org X-Debbugs-Original-To: Giacomo Leidi via Guix-patches via , 75203@debbugs.gnu.org Received: via spool by 75203-submit@debbugs.gnu.org id=B75203.173619755112194 (code B ref 75203); Mon, 06 Jan 2025 21:06:02 +0000 Received: (at 75203) by debbugs.gnu.org; 6 Jan 2025 21:05:51 +0000 Received: from localhost ([127.0.0.1]:40647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUuII-0003Ac-Ug for submit@debbugs.gnu.org; Mon, 06 Jan 2025 16:05:51 -0500 Received: from confino.investici.org ([2a11:7980:1::2:0]:51527) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUuIG-0003AI-5o for 75203@debbugs.gnu.org; Mon, 06 Jan 2025 16:05:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1736197545; bh=5/+21VOQ5SdatDrHvIP5PP+MSZxd2SvxqY/Rxt5iftI=; h=Date:Subject:To:References:From:In-Reply-To:From; b=JeTHNHddNKsR852XVH64y+WoflkAAUb3ShIFf6w+OIbmQcdIZqNsLvytrpdQw0Lts WkBktBVkj4WLZ6jqmvLNKFdqB3nTCirO+VRSHCAhEKP+DM/AdHcoT7JFfjGp9hgom1 nZp2FfL6md8GJ5LuSYX+M4f7XZTCG3p1RhTcTMvc= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4YRmtK0D9Sz10x3; Mon, 6 Jan 2025 21:05:45 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4YRmtJ6YDNz10wr; Mon, 6 Jan 2025 21:05:44 +0000 (UTC) Message-ID: Date: Mon, 6 Jan 2025 22:05:44 +0100 MIME-Version: 1.0 User-Agent: Icedove Daily References: <1881b153-9191-4322-8c71-195b5eef5651@autistici.org> <6ef8d0e4837ab1e623afc117d94062085ef2abe8.1735574122.git.goodoldpaul@autistici.org> <87bjws2elz.fsf@wolfsden.cz> Content-Language: en-US From: paul In-Reply-To: <87bjws2elz.fsf@wolfsden.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Tomas, good point, thank you for bringing that up! I didn't do it in the first place as I was not able to easily test the completion status of one shot Shepherd services. I hope revision 2 fixes tests also on CI. cheers, giacomo From unknown Sun Jun 22 00:31:31 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75203] [PATCH v2 1/2] services: tests: Add delay for rootless Podman system test. References: <1881b153-9191-4322-8c71-195b5eef5651@autistici.org> In-Reply-To: <1881b153-9191-4322-8c71-195b5eef5651@autistici.org> Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Jan 2025 21:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75203 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 75203@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 75203-submit@debbugs.gnu.org id=B75203.173619757312279 (code B ref 75203); Mon, 06 Jan 2025 21:07:02 +0000 Received: (at 75203) by debbugs.gnu.org; 6 Jan 2025 21:06:13 +0000 Received: from localhost ([127.0.0.1]:40655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUuIe-0003Bn-7p for submit@debbugs.gnu.org; Mon, 06 Jan 2025 16:06:12 -0500 Received: from confino.investici.org ([93.190.126.19]:44895) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUuIc-0003Be-Se for 75203@debbugs.gnu.org; Mon, 06 Jan 2025 16:06:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1736197569; bh=pYfku+eEOO9PGafJfDc32HFq0ch6tsW+NRAT0IU6zg0=; h=From:To:Cc:Subject:Date:From; b=tzy5GXXoUzAFjZH9TcYMS5Mdhmelgzh0guQHJq5YQUM7jnJevnRJUyT60q/S7P8ef gkWnxi5L4gEN5hqL6jtiGAdK4EFTkvoekzt9/EW3ja3XjC5n7aQU8C8l7P+xJC/fa6 AoyWT9eVRgflnaVx8LYCim6NXP6Jf6SI0PPn+2jQ= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4YRmtn3KpGz10wr; Mon, 6 Jan 2025 21:06:09 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4YRmtn2KtWz10x3; Mon, 6 Jan 2025 21:06:08 +0000 (UTC) From: Giacomo Leidi Date: Mon, 6 Jan 2025 22:05:51 +0100 Message-ID: X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/tests/containers.scm (run-rootless-podman-test): Add 60 seconds long delay before tests are actually run. Change-Id: Ifcf70f7258f9e0886bf829884d7daedc9803352b --- gnu/tests/containers.scm | 113 +++++++++++++++++++++------------------ 1 file changed, 60 insertions(+), 53 deletions(-) diff --git a/gnu/tests/containers.scm b/gnu/tests/containers.scm index ba2fb22df6..69cd311c82 100644 --- a/gnu/tests/containers.scm +++ b/gnu/tests/containers.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2024 Giacomo Leidi +;;; Copyright © 2024, 2025 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -97,17 +97,65 @@ (define (run-rootless-podman-test oci-tarball) (test-runner-current (system-test-runner #$output)) (test-begin "rootless-podman") - - (test-assert "service started" - (marionette-eval - '(begin - (use-modules (gnu services herd)) - (match (start-service 'cgroups2-fs-owner) - (#f #f) - ;; herd returns (running #f), likely because of one shot, - ;; so consider any non-error a success. - (('service response-parts ...) #t))) - marionette)) + (marionette-eval + '(begin + (use-modules (gnu services herd)) + (wait-for-service 'file-system-/sys/fs/cgroup)) + marionette) + + (test-assert "services started successfully and /sys/fs/cgroup has correct permissions" + (begin + (define (run-test) + (marionette-eval + `(begin + (use-modules (ice-9 popen) + (ice-9 match) + (ice-9 rdelim)) + + (define (read-lines file-or-port) + (define (loop-lines port) + (let loop ((lines '())) + (match (read-line port) + ((? eof-object?) + (reverse lines)) + (line + (loop (cons line lines)))))) + + (if (port? file-or-port) + (loop-lines file-or-port) + (call-with-input-file file-or-port + loop-lines))) + + (define slurp + (lambda args + (let* ((port (apply open-pipe* OPEN_READ args)) + (output (read-lines port)) + (status (close-pipe port))) + output))) + (let* ((bash + ,(string-append #$bash "/bin/bash")) + (response1 + (slurp bash "-c" + (string-append "ls -la /sys/fs/cgroup | " + "grep -E ' \\./?$' | awk '{ print $4 }'"))) + (response2 (slurp bash "-c" + (string-append "ls -l /sys/fs/cgroup/cgroup" + ".{procs,subtree_control,threads} | " + "awk '{ print $4 }' | sort -u")))) + (list (string-join response1 "\n") (string-join response2 "\n")))) + marionette)) + ;; Allow services to come up on slower machines + (let loop ((attempts 0)) + (if (= attempts 60) + (error "Services didn't come up after more than 60 seconds") + (if (equal? '("cgroup" "cgroup") + (run-test)) + #t + (begin + (sleep 1) + (format #t "Services didn't come up yet, retrying with attempt ~a~%" + (+ 1 attempts)) + (loop (+ 1 attempts)))))))) (test-equal "/sys/fs/cgroup/cgroup.subtree_control content is sound" (list "cpu" "cpuset" "memory" "pids") @@ -144,47 +192,6 @@ (define (run-rootless-podman-test oci-tarball) (sort-list (string-split (first response1) #\space) string Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Jan 2025 21:07:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75203 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 75203@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 75203-submit@debbugs.gnu.org id=B75203.173619757412288 (code B ref 75203); Mon, 06 Jan 2025 21:07:03 +0000 Received: (at 75203) by debbugs.gnu.org; 6 Jan 2025 21:06:14 +0000 Received: from localhost ([127.0.0.1]:40657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUuIg-0003C7-0L for submit@debbugs.gnu.org; Mon, 06 Jan 2025 16:06:14 -0500 Received: from confino.investici.org ([2a11:7980:1::2:0]:42069) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUuId-0003Bg-QO for 75203@debbugs.gnu.org; Mon, 06 Jan 2025 16:06:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1736197571; bh=aONOcpGh0yljEwS7b66iQOQiLxcLROpIn/DnRdrvnQQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A1RxiBDD8T4w4jhDB31q3/lopy08RI45Id29AMfkzWnEZitWpp0AFrUBelyxScD6j 9IYXIRu9Fj1OMGwit12DHb8yDuC3551KxaeGYQlJyAwLOPAPFqaoHNE/wr7Mz2PxBc 9z5ne7JbN/214R3AxghC3xcck2AhOdLFJHEERrGY= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4YRmtq0CBDz10x5; Mon, 6 Jan 2025 21:06:11 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4YRmtp6MvYz10x3; Mon, 6 Jan 2025 21:06:10 +0000 (UTC) From: Giacomo Leidi Date: Mon, 6 Jan 2025 22:05:52 +0100 Message-ID: <0bedc9d2ce58aa24d920c20d15782c9eb5255ea5.1736197552.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Based on https://rootlesscontaine.rs/getting-started/common/cgroup2/#enabling-cpu-cpuset-and-io-delegation , this patch enables I/O delegation for cgroups v2 enabled users. * gnu/services/containers.scm (cgroups-limits-entrypoint): Enable I/O controller delegation. * gnu/tests/containers.scm: Test it. Change-Id: I7caba33695f11830bea477c4ab3afb89cfaa2fa5 --- gnu/services/containers.scm | 2 +- gnu/tests/containers.scm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/services/containers.scm b/gnu/services/containers.scm index a82fb64db3..19d35ccbcb 100644 --- a/gnu/services/containers.scm +++ b/gnu/services/containers.scm @@ -174,7 +174,7 @@ (define cgroups-limits-entrypoint #~(system* (string-append #+bash-minimal "/bin/bash") "-c" (string-append "echo Setting cgroups v2 limits && " - "echo +cpu +cpuset +memory +pids" + "echo +cpu +cpuset +io +memory +pids" " >> /sys/fs/cgroup/cgroup.subtree_control")))) (define (rootless-podman-cgroups-limits-service config) diff --git a/gnu/tests/containers.scm b/gnu/tests/containers.scm index 69cd311c82..0ecc8ddb12 100644 --- a/gnu/tests/containers.scm +++ b/gnu/tests/containers.scm @@ -158,7 +158,7 @@ (define (run-rootless-podman-test oci-tarball) (loop (+ 1 attempts)))))))) (test-equal "/sys/fs/cgroup/cgroup.subtree_control content is sound" - (list "cpu" "cpuset" "memory" "pids") + (list "cpu" "cpuset" "io" "memory" "pids") (marionette-eval `(begin (use-modules (srfi srfi-1) -- 2.47.1 From unknown Sun Jun 22 00:31:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: paul Subject: bug#75203: closed (Re: bug#75203: Fix rootless podman system tests and support I/O delegation) Message-ID: References: <87zfjxkkdv.fsf_-_@gnu.org> <1881b153-9191-4322-8c71-195b5eef5651@autistici.org> X-Gnu-PR-Message: they-closed 75203 X-Gnu-PR-Package: guix-patches Reply-To: 75203@debbugs.gnu.org Date: Sat, 11 Jan 2025 23:21:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1736637662-9921-1" This is a multi-part message in MIME format... ------------=_1736637662-9921-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #75203: Fix rootless podman system tests and support I/O delegation which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 75203@debbugs.gnu.org. --=20 75203: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75203 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1736637662-9921-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 75203-done) by debbugs.gnu.org; 11 Jan 2025 23:20:57 +0000 Received: from localhost ([127.0.0.1]:45341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tWkmm-0002ZZ-Mj for submit@debbugs.gnu.org; Sat, 11 Jan 2025 18:20:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55240) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tWkmj-0002ZD-O4 for 75203-done@debbugs.gnu.org; Sat, 11 Jan 2025 18:20:54 -0500 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 1tWkmc-0004Rw-Fo; Sat, 11 Jan 2025 18:20:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=1cmxjMcfvrFVecoH9p5LC3mEGtFprhW9cvmWSFdwapk=; b=bmHSDZtFLlGPYTQLaGS/ xbmwVPxTX9JWPYvD6EI2DqtdN1afGR3Mc8UKQziBsrUXTO2Kmzv5fdC/h7ikgjkzGZsXRdZTEmmdp 73Yznk1CDfJqJiEP3s8Woj1YYuTy6vSXeZsA5qZJw9w6mJ1izbqxtCgIVFIq3Ri4E3foEUh+clTGv k99wQG41wy87L0ma1M0l0t8sCfTgWH6NOyrRWUcmIWuUcoEjga/J2DUYqZXSddAn7BqAcDS+ALB0b rlSB2d+3P0oVODl0RFvbiP8fgLDmKogtAuVGwvInE29/SVkBUhZS0eQoNC0/DWm4+lMs5c8I/jbVj eDdnEfNhEV3Ljg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Giacomo Leidi Subject: Re: bug#75203: Fix rootless podman system tests and support I/O delegation In-Reply-To: <0bedc9d2ce58aa24d920c20d15782c9eb5255ea5.1736197552.git.goodoldpaul@autistici.org> (Giacomo Leidi's message of "Mon, 6 Jan 2025 22:05:52 +0100") References: <0bedc9d2ce58aa24d920c20d15782c9eb5255ea5.1736197552.git.goodoldpaul@autistici.org> Date: Sun, 12 Jan 2025 00:20:44 +0100 Message-ID: <87zfjxkkdv.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75203-done Cc: 75203-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Applied, thanks! ------------=_1736637662-9921-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 30 Dec 2024 15:54:51 +0000 Received: from localhost ([127.0.0.1]:59565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSI6V-0000fI-8u for submit@debbugs.gnu.org; Mon, 30 Dec 2024 10:54:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:57182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSI6R-0000f2-6V for submit@debbugs.gnu.org; Mon, 30 Dec 2024 10:54:49 -0500 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 1tSI6P-0007LY-OL for guix-patches@gnu.org; Mon, 30 Dec 2024 10:54:46 -0500 Received: from latitanza.investici.org ([2001:888:2000:56::19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSI6L-0004H8-UR; Mon, 30 Dec 2024 10:54:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1735574077; bh=bE5lSygv8tg6QKCvjlNcWGtoRaPrFumKXuMgHDIVjTA=; h=Date:To:From:Subject:Cc:From; b=NjS2th45spH22yZDhiyd27sQQIehnvHRxHxolubdMwXebv4fr2naj8G+lAu+CKKQy 46l8IOyA93vuaTaJPk1O2PUOXiIN9o0IsAUBb9prrCRO9j8Pl32Y7tGZnStcOaqs0E +yS4/wQlPOAPCWM90FLadZQ85qvlddFEp2XrhyRU= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4YMLJY2cx5zGp3d; Mon, 30 Dec 2024 15:54:37 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4YMLJY1VgBzGp0p; Mon, 30 Dec 2024 15:54:37 +0000 (UTC) Message-ID: <1881b153-9191-4322-8c71-195b5eef5651@autistici.org> Date: Mon, 30 Dec 2024 16:54:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: guix-patches@gnu.org Content-Language: en-US From: paul Subject: Fix rootless podman system tests and support I/O delegation Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=goodoldpaul@autistici.org; helo=latitanza.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?Q?Ludovic_Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi Guix, since rootless Podman tests are failing on CI ( https://ci.guix.gnu.org/build/7694600/details and past jobs), but are working on my machine ( :) ), I'm sending a patch adding a delay to allow services to start also on slower machines. I'm using this occasion also to introduce a minor change (implement rootless I/O controller delegation) required for correct cgroups v2 setup, according to [0]. Thank you for all your work, giacomo [0]: https://rootlesscontaine.rs/getting-started/common/cgroup2/ ------------=_1736637662-9921-1--