From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (mail.openvz.org [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id 377B680027 for ; Thu, 19 Nov 2026 07:49:38 +0000 (UTC) Received: from mail.openvz.org (localhost [127.0.0.1]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 6AJ7mGPH003636; Thu, 19 Nov 2026 10:48:17 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AJ7mGPH003636 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="YkSEbPm/" Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 6AJ7mFIc003626 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Thu, 19 Nov 2026 10:48:15 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AJ7mFIc003626 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-4901562b819so1445832f8f.3 for ; Wed, 18 Nov 2026 23:48:15 -0800 (PST) X-Gm-Message-State: APuU4Z8I6k+ItwXxeBIRinVYeBrYwv0/EjUgxBOG9cHrw1VJ2KJ1E2oX XZzAjmE1cCeyZT8v35gM1E9pAxm0mRGS49iRRP49eBvAqBwSBYme3fP6UBmIufg7Ez/xBDWDkMe oNkp/dCoZp02oWC2toIGqc0nu2rBHW8henFIRUBgP2ij4vQi2qLlgdA== X-Gm-Gg: AYBFou2Yml4OiX91KRgPICSDc/DSWzXDSw4Te7WgVcJoyj8EkAgrC+W9f8oNXhCKFQ4 RNrYGQkeEjka4oYkl28a7xmH3uXzGoUwsgwOlinuIas399BXObghC8VaQIb8dsqg7Hotf01zNKX kE+JTs6vqg/ZdeI59TxOnkUfdjcaOwz9tGeFGdm5VKGKFFPGxdA0e5MRGQk7iH1dYZQB726TvBw lMamCzY4zOpVkBd+U7v0fO4BsV+7y9W7pa+S9ktMGquskgwiuXqy9CpAHEXyFkNLK7Ce6si8xSm 6aXCbMocaPdhobVxMwXEXAurY/dskTnHUm/xuhSiTvXw4EPeh9lQ8701DdSDFJ/XzvzOSuNxFeM oZ7KHImu1p+RqOXdunT5+9ohhteI42g== X-Received: by 2002:a05:600c:1d0f:b0:4bb:6fff:9fe7 with SMTP id 5b1f17b1804b1-4bb7da22416mr99991045e9.5.1795074494774; Wed, 18 Nov 2026 23:48:14 -0800 (PST) X-Received: by 2002:a05:600c:1d0f:b0:4bb:6fff:9fe7 with SMTP id 5b1f17b1804b1-4bb7da22416mr99990745e9.5.1795074494348; Wed, 18 Nov 2026 23:48:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1795074494; cv=none; d=google.com; s=arc-20260327; b=V9whpF+qpVQO0w9R5klznYWtwKh4kVe2TarzyoCt/3YHWNLeifJlGuYyIBbslBdnSQ kQ8kEo2cbUFbYSCsyB4uYhFSNwNRjfHsnJEbDXpo96JJbq4nXjdEysuvDVeWZgmWVGui Nh6HIaC3DFC/VDuDeO592fPNEARgOP+m0cB8AZvAIB5nMeBBoceRFR84OC8n37xmca1T 7feQ2V/OmxOdIRawjp8iNFuIAHjcBZY9av0YnfjmYNVfQ/Ge9rSf34Xgzxz4un5y8CPS n+ZW8+DZANEOulUiatbP6EkAJ+HmHw/Mi7L5ER0Y9Si8EljHn4KyD54hbvAD7zy5oY0F zyQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=wzkB4YNNtVZ0HZyoqJBi0W/cM29AAInbB40oZJhYNes=; fh=teuuu96aRhCopkXuOxFj+Q2skgkILGdRv1xYtdVIE7A=; b=NW2tOSYvk2XsJOEis0A6+3gdF949nvRuFmYfOYskUVuM80Mo8nPydXnopcaHzNiLp1 tKB99Ax7vZaEeZNiIHoh2pkn1cIPfPWmPKetE/U6H7tAIUex47bYTh2dOZbTe9R6kZYS me3H7IUvRkraDJBdG+MWcfDL7qE4hAKrHDc4SJolPpDMjWgvF+fHeowgpX2lbP+ob58e e2/IvVDmiNio2z7JYFjSJA1xhU1xCopVJDxQukiRGY0UhTyMlARtZZXqVrEKURT7ySYx IhALiouZBOtRJP42Z+skQm1u1+fiGPCWDRm8SQbSEkEIQe93diFVMPQOV5DqV6ckbTdq LTLA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b="YkSEbPm/"; spf=pass (google.com: domain of mirian.shilakadze@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=mirian.shilakadze@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Received: from relay.virtuozzo.com (relay.virtuozzo.com. [130.117.225.111]) by mx.google.com with ESMTPS id ffacd0b85a97d-4a650d2ea3esi9733005f8f.2.2026.11.18.23.48.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Nov 2026 23:48:14 -0800 (PST) Received-SPF: pass (google.com: domain of mirian.shilakadze@virtuozzo.com designates 130.117.225.111 as permitted sender) client-ip=130.117.225.111; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b="YkSEbPm/"; spf=pass (google.com: domain of mirian.shilakadze@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=mirian.shilakadze@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtuozzo.com; s=relay; h=MIME-Version:Message-ID:Date:Subject:From: Content-Type; bh=wzkB4YNNtVZ0HZyoqJBi0W/cM29AAInbB40oZJhYNes=; b=YkSEbPm/LZHO 3srtQrg0kqLOQPfwipMs/YNJQ3qUTAO1Rh8mkklfuYwGMPJGnvIGuHIpXhdNUTJDsEPPakx6lq008 3zpwwJCPb7st+IjYZtBWDbqDIjVL4Z/0rih50K+BwcAZtlT6JzdkPaUu0TZN7iWJ64/eQ84ae4PUM /VlBkx/PHnaQyidRq5hUa2ItjpG8lss6mDH2BGcrl2W8gEqKWqBSv4VjHI6eJ6a//WiuMswO5RsQ0 raNyZAeOipXNXg6Nw/jyegubtUTo3BaM0cfgtZnYNcUiz6qUO3MB5zS4bJ6i/kMFnh8Q5OpcWuvg2 QH6hYRSIGV8zpT7JRuu/dQ==; Received: from ch-demo-asa.virtuozzo.com ([130.117.225.8] helo=localhost.localdomain) by relay.virtuozzo.com with esmtp (Exim 4.96) (envelope-from ) id 1xTwo6-008QkQ-1v; Thu, 19 Nov 2026 08:48:12 +0100 From: Mirian Shilakadze To: khorenko@virtuozzo.com, vasileios.almpanis@virtuozzo.com Date: Thu, 19 Nov 2026 11:48:02 +0400 Message-ID: <20261119074808.478064-1-mirian.shilakadze@virtuozzo.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-OZ-Fwd: true Cc: devel@openvz.org Subject: [Devel] [PATCH hci-8.2 0/3] selftests/ve: move ve_devcg_bpf and ve_printk into ve/ X-BeenThere: devel@openvz.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: OpenVZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: devel-bounces@openvz.org Errors-To: devel-bounces@openvz.org ve_devcg_bpf and ve_printk live in their own selftest directories with private copies of the helpers in ve_selftest.h. This series moves both into tools/testing/selftests/ve/ and drops the copies. No test logic change. - 1/3 makes ve_selftest.h open the host cgroup2 mount instead of creating one. Creating it cleared nsdelegate and memory_recursiveprot on the host /sys/fs/cgroup every time a ve test ran. - 2/3 moves ve_devcg_bpf - 3/3 moves ve_printk The kernel spec builds ve_devcg_bpf and ve_printk as targets of their own, and with FORCE_TARGETS a missing directory fails the build. So the spec has to drop both in the same release, a vzkernel.vzspecs change that goes separately. The ve target is already built and runs in CI, the moved tests run with it. Tested on vz10 kernel 6.12.0-211.75.1.26.2, old layout against new: all 53 cases give the same verdicts. The two ve_ns_owner cases fail in both without the VSTOR-156012 fix. The host cgroup2 mount keeps nsdelegate and memory_recursiveprot with the series and loses both without it. https://virtuozzo.atlassian.net/browse/VSTOR-139515 Mirian Shilakadze (3): selftests/ve: open the host cgroup2 mount instead of creating one selftests/ve: move ve_devcg_bpf into ve/ and reuse ve_selftest.h selftests/ve: move ve_printk into ve/ and reuse ve_selftest.h tools/testing/selftests/Makefile | 2 - tools/testing/selftests/ve/.gitignore | 4 + tools/testing/selftests/ve/Makefile | 6 + .../selftests/{ve_printk => ve}/test_segf.c | 0 .../selftests/{ve_printk => ve}/test_trap.c | 0 tools/testing/selftests/ve/ve_aio_ring_test.c | 2 +- .../selftests/ve/ve_cpuid_override_test.c | 6 +- .../{ve_devcg_bpf => ve}/ve_devcg_bpf_test.c | 89 +-------- .../selftests/ve/ve_mount_accounting_test.c | 2 +- tools/testing/selftests/ve/ve_ns_owner_test.c | 2 +- .../selftests/ve/ve_numa_migrate_test.c | 4 +- .../ve/ve_numa_syscalls_prohibited_test.c | 2 +- tools/testing/selftests/ve/ve_perms_test.c | 2 +- .../{ve_printk => ve}/ve_printk_test.c | 176 ++++-------------- tools/testing/selftests/ve/ve_selftest.h | 36 ++-- .../testing/selftests/ve/ve_tmpfs_mpol_test.c | 2 +- tools/testing/selftests/ve/ve_vtty_stress.c | 4 +- .../testing/selftests/ve_devcg_bpf/.gitignore | 1 - tools/testing/selftests/ve_devcg_bpf/Makefile | 10 - tools/testing/selftests/ve_printk/.gitignore | 3 - tools/testing/selftests/ve_printk/Makefile | 8 - 21 files changed, 88 insertions(+), 273 deletions(-) rename tools/testing/selftests/{ve_printk => ve}/test_segf.c (100%) rename tools/testing/selftests/{ve_printk => ve}/test_trap.c (100%) rename tools/testing/selftests/{ve_devcg_bpf => ve}/ve_devcg_bpf_test.c (90%) rename tools/testing/selftests/{ve_printk => ve}/ve_printk_test.c (77%) delete mode 100644 tools/testing/selftests/ve_devcg_bpf/.gitignore delete mode 100644 tools/testing/selftests/ve_devcg_bpf/Makefile delete mode 100644 tools/testing/selftests/ve_printk/.gitignore delete mode 100644 tools/testing/selftests/ve_printk/Makefile -- 2.47.3 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel