From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6OqlJ77a0mEz1gAAgWs5BA (envelope-from ) for ; Mon, 03 Jan 2022 12:15:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gNXuJL7a0mHeOwAA9RJhRA (envelope-from ) for ; Mon, 03 Jan 2022 12:15:10 +0100 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 3A44424905 for ; Mon, 3 Jan 2022 12:15:10 +0100 (CET) Received: from localhost ([::1]:39760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4LIz-0000UO-Bh for larch@yhetil.org; Mon, 03 Jan 2022 06:15:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4LIv-0000UB-FT for guix-patches@gnu.org; Mon, 03 Jan 2022 06:15:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4LIs-00070y-9n for guix-patches@gnu.org; Mon, 03 Jan 2022 06:15:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4LIs-0005dv-2y for guix-patches@gnu.org; Mon, 03 Jan 2022 06:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52174] [PATCH] gnu: Add podman Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 Jan 2022 11:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52174 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Timmy Douglas Cc: 52174-done@debbugs.gnu.org Received: via spool by 52174-done@debbugs.gnu.org id=D52174.164120847821635 (code D ref 52174); Mon, 03 Jan 2022 11:15:02 +0000 Received: (at 52174-done) by debbugs.gnu.org; 3 Jan 2022 11:14:38 +0000 Received: from localhost ([127.0.0.1]:34239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4LIT-0005ct-RD for submit@debbugs.gnu.org; Mon, 03 Jan 2022 06:14:38 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:55028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4LIR-0005cf-IZ for 52174-done@debbugs.gnu.org; Mon, 03 Jan 2022 06:14:36 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id A9E1913B; Mon, 3 Jan 2022 12:14:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ASkBzOKqIdbH; Mon, 3 Jan 2022 12:14:28 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id BC4C8A4; Mon, 3 Jan 2022 12:14:27 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <874k75pzi7.fsf@gnu.org> <52542aec3c127a893453ac1ecbbd504022d4c8dd.1639889841.git.mail@timmydouglas.com> <875yrjl8a5.fsf@gnu.org> <87tuf1zpa1.fsf@timmydouglas.com> <87v8zet4b4.fsf@gnu.org> <87pmplmt24.fsf@timmydouglas.com> <87wnjjnx5u.fsf_-_@gnu.org> <87czlbmdlu.fsf@timmydouglas.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?UTF-8?Q?Niv=C3=B4se?= an 230 de la =?UTF-8?Q?R=C3=A9volution?= 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: Mon, 03 Jan 2022 12:14:27 +0100 In-Reply-To: <87czlbmdlu.fsf@timmydouglas.com> (Timmy Douglas's message of "Sat, 01 Jan 2022 11:59:25 -0800") Message-ID: <87czl9m5po.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: A9E1913B X-Spamd-Result: default: False [0.46 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(0.56)[subject]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641208510; 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; bh=FTzwO5jDd0hsuSHVGyH7AQC4pURiE02YSnNvU52lCOs=; b=ExLUytZ5HsZ+CslIBNjGH5p/B6c5qvT3+QAc/o0XNTdB6ET14yEw48/Tn0SXkIIjbjEZFy i3eMKBVO7Gjx5mu8CGi1sKtuuHPZhSXX7DYtizPe51X+gOQyxIQ+oA4DxX2ufg6QNxdpLa ewX7yZKWOGv1OX/uWXA5ubGnyu3Dvo2YqVwH0He0NwKo6OACxfk1+U94aZEYdPwLU8BQT5 ywDbGjS8/WFJNtM0EVYT3vrW7HriFJIRKEAdcyH9egWeV49PdFhMtLunUdEAQsRE2/SJuo nxRmDlNiAiZQfJ5X8sLieIc9EoXNYxodjEMknVriGSzG3TU1QtLjitW2baOn+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641208510; a=rsa-sha256; cv=none; b=p2IuiOrkmwIdo+Bhrx2WLKtUhgx0MJLBB25Tmdo5kdFm7mwsev6ACfwkXZAx92yfrYXTQO +TRtuH/nCsdiN1gRnDWuTe3n5kD8iTcB6W9il7Cqt9Ucdu2wR6ye2tOa61ypL0EjCjdN/a g4CvBN4yU3HIFfAccvLVPevqzbc5QVGLok5mamzy/rGIAcCKU8SXSpejHO3oPjPt6fbmOo zdTE5eeUqbZyxRcSzMM0fwUV8gwGoX/w5RuPHUhI/SSKP51RZWV2b3Fei57r59JFAxe0+6 Ri9aRHegfgKi6hjbfYyGQ800AeL2CXgdxFX8gLcEAw89A8pVoOLGzEjwpjxFEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.59 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3A44424905 X-Spam-Score: -4.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: +IDvNhjzhtJn Hello, Timmy Douglas skribis: > Ludovic Court=C3=A8s writes: [...] >> IWBN to see if we can still run those tests somehow, or at least the >> subset of them that doesn=E2=80=99t rely on /sys/fs/cgroup. I=E2=80=99d= argue that the >> test harness should automatically skip tests that cannot be run; perhaps >> worth raising upstream? > > I'd like to get the tests to run also, but the builder sandbox appears > to be blocking some pretty major functionality that the tests would rely > on. > > I think pretty much all of the container/crun ones would rely on the > cgroup mount because that's the kernel interface into the container > APIs... Is there some way that guix and the builder could eventually > expose those by default? I don't know how receptive upstream would be > towards an ask to run container tests with the container interface > disabled? The daemon probably won=E2=80=99t expose those; we=E2=80=99re rather conser= vative into what to expose and how to change it because changes could break bit-reproducible builds in unexpected ways. I understand many/most tests require cgroups, I=E2=80=99m just wondering if= we can run at least those that don=E2=80=99t require it. Perhaps we=E2=80=99r= e talking about a very limited number of tests, in which case it=E2=80=99s moot, I do= n=E2=80=99t know. > For the networking ones that fail, they try to use /dev/net/tun. Like > the cgroup one, I assume this is a kernel interface needed to perform > network operations. I guess the builders disable this as a part of the > network disabling stuff because the tests pass outside of the builder > sandbox. Yeah. > The cni-plugins (cni=3Dcontainer network interface) use /var/run to mount > network namespaces. /var/run is present on my machine but I don't think > it exists inside the builder sandbox. The actual directory used can be > set with XDG_RUNTIME_DIR, but it appears the code still checks the > ownership of /var/run to see if it's running in a user namespace: > https://github.com/containernetworking/plugins/blob/2c46a726805bcf13e2f78= 580c57b21e9de107285/pkg/testutils/netns_linux.go Hmm OK. So yeah, maybe there=E2=80=99s nothing we can do here. Thanks for your feedback, Ludo=E2=80=99.