From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (unknown [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id 64D798017D for ; Mon, 28 Sep 2026 15:19:34 +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 68SFICIs010626; Mon, 28 Sep 2026 18:18:13 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 68SFICIs010626 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="SfbkMV8C" Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 68SFIAj1010615 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Mon, 28 Sep 2026 18:18:10 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 68SFIAj1010615 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-49ffe48d1dfso22022495e9.3 for ; Mon, 28 Sep 2026 08:18:10 -0700 (PDT) X-Gm-Message-State: AFuF++kRTNqvAVpBzkOJdOWaVXa95ciDzKtwsF1alRawo6lBVdsyjPy+ wz0pIzAhdlJgPZIHTAe/ZVzp/eRx9buF3cytAL2NIe4cMXmJeXgPPuqCEWcRUjvnhqAhtVJ2ZlT qM3aeyi6b7Mf+ygnkLBEw5R8Td3duc+xIKlw5hYq8ihZ0ixAPVbcjhA== X-Gm-Gg: AYBFou3An7DYphW9WUqa63DONVn20OLk7whQFdjH5NOv3sbodrYn5gPH/0AZKNTK1pw oMx/fE8EBzrHKWKBQR/lI4ZQI5BfNrrA54Vw4TLG+4fly0tHlVliFNazWAVHjEVjEISS8fTgZhR 7CWDNBradhlilLXZDSFylWsBHHFQh8EPmBGHI74/5IolhvxD1DZhMph03EQ/wa9633G28sjXOc4 ODGzzRw4rQSXKbVUTv1u9KIGxp3WMKAu31+uXpZBZlePSm6IURutgSBT8T5RnuV1PA9hQK+f7qx ncZBhXPLfs8vO+ClbjEc+zF06zAC7Fz0gUbYCKH7OvNzrZPsYrgRR+PYx4oMBnfFBMoODrinxNi 6TKK+kbs2D8RxM0EZ/d+mjHef0w== X-Received: by 2002:a05:600c:4583:b0:49f:d087:6526 with SMTP id 5b1f17b1804b1-49fe670d05bmr257434625e9.34.1790608690475; Mon, 28 Sep 2026 08:18:10 -0700 (PDT) X-Received: by 2002:a05:600c:4583:b0:49f:d087:6526 with SMTP id 5b1f17b1804b1-49fe670d05bmr257433795e9.34.1790608689618; Mon, 28 Sep 2026 08:18:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1790608689; cv=none; d=google.com; s=arc-20260327; b=cZqLFAEwblzUFrfHF++y4jB/BNSawt3sGVpeL8eJBlgnen57IOVaNN1vmoIDa8ADXU eSXfK5NrR5Mx8/+ckX5+p2Lh3MX7UMmkNl/JsM+me5PR4IkCk+dLjS0h7p6+vrC0AeWj z6tvTvqGQ56RXOVpBZqG3nKJkefVRxm3e3HJ9zcXumWAf9Lo9te5J+BZVUQGZP1p3a6W KSLYkiXB0o0BRs/D8iGNObMZqq4rx6FZJt//7wixJuub09CcKezupv19GjOkh/PPAW6T MIuee2WJmlRGNhjzb2OYCAwpmhk+E8ywBikSazsDyFVMM50MVtDk62X30abI+6UQwsLy yRgg== 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=srklOfh05qi0Mkel0gfk6ZMvPBw/kdwJKnvOlkQJr30=; fh=WpT6aB7RBAGHZeWZzqAr71yzRFbPTYkPWKsRagLn48Q=; b=YNjIoAKG/wI392Uf7i3LwWD2XApomVZB61SNAMmya2bJ6dlfTcPsg4WejP68zW5a0e ws+pgjAxMWiyinJ7hyI9DVbxAm6eBfENbGo+HxK7MF8bJCWX8CsEvrJ4enY8Ar7rtmwL Ta9rGCBFkh9/TwDCYuPZp1qqNti4mGAYf6bV+X6RjO0sd2IfXSlzeS2aczJg7Fr7Dz4W Rwc0121SkJt/kpqfstGH/o7wUBo43s2hqWJFLI+6dwljtAKApNTBfiBAo854TZ/hUzSU dLK0EMJOdq3xP8cvUEDEqEp/peY7B/OXiUQ/EHTFVsP5uFG2NkWhxmR/AVLTyVr6ULz8 CxBA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=SfbkMV8C; spf=pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=eva.kurchatova@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-4887a3619e6si20012515f8f.74.2026.09.28.08.18.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2026 08:18:09 -0700 (PDT) Received-SPF: pass (google.com: domain of eva.kurchatova@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=SfbkMV8C; spf=pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=eva.kurchatova@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=srklOfh05qi0Mkel0gfk6ZMvPBw/kdwJKnvOlkQJr30=; b=SfbkMV8CGfqo t4w5PEHAszKD7sBhR7pITPvU4lxOhHQn8HHsIRhG0jTsQaMHq2mM6C6D617TXVsHU8KlIl6jnN1oF BFVfow91CLjoXNXuhNjiO9AMqQhxLqkOFERfr2wtrncMc+63ysHYMFxXZKpgt+iMiRpGMbzldhWuI Fq4G01g+YbfPdxijbiSyjOZBkgR2ErvwSFx5jW7dFps+GEOXKYrbA8VLm8KyKH3/dOgrIpU61Q2ON i9I95dyRFaiBTY7elFJsNzuVJMMqzb0lloosL2n02QqFJ83gxXAzH+T5g+hfHpwpBCcOmHng4I5hQ h0v9V/kfeozTge6cBvKEqw==; Received: from ch-vpn.virtuozzo.com ([130.117.225.6] helo=LekKit-T14) by relay.virtuozzo.com with esmtp (Exim 4.96) (envelope-from ) id 1xBD4G-004xNU-1B; Mon, 28 Sep 2026 17:18:00 +0200 From: Eva Kurchatova To: khorenko@virtuozzo.com Date: Mon, 28 Sep 2026 18:16:16 +0300 Message-ID: <20260928151802.377553-1-eva.kurchatova@virtuozzo.com> X-Mailer: git-send-email 2.55.0 MIME-Version: 1.0 X-OZ-Fwd: true Cc: devel@openvz.org Subject: [Devel] [PATCH hci-8.1 v4 0/2] selftests: ve: fix ve_perms, introduce vtty_stress 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 Patchset for tasks: https://virtuozzo.atlassian.net/browse/VSTOR-144955 https://virtuozzo.atlassian.net/browse/VSTOR-144771 Should be merged in this order, since without the ve fix, the testsuite will not pass at all. Changes in v4: 1/2: - Check the snprintf() in set_entry() against sizeof() and give the buffer PATH_MAX, similar to how ve_open_rel() already operates. - Correct comments. - Fix the Feature tag. 2/2: - Move the double release_tty() history out of the file header into the message. The header keeps what the test does, how it reaches both ends, and the usage line. - Match "general protection fault" records as well, they carry no "Oops:" prefix. - Reason about the test reproduction time in the commit message. - Document that the test assumes its veid is not in use by a running container in the commit message. - Default to 30 seconds and drop the settings file, the run now fits the timeout the suite already has. Link to v3: https://lists.openvz.org/pipermail/devel/2026-September/085277.html Changes in v3: 1/2: - Code unchanged from v2. Only the test count and the sentence about the proc variant were dropped from the message; the rest of the v2 review is addressed in v4. 2/2: - Corrections in commit message and comments. - Bail out on the first open errno that is not EBUSY, EIO or ENXIO, on both ends, and report it, instead of spinning erroneously. - Match /dev/kmsg one record at a time. - Keep reading /dev/kmsg after EPIPE instead of stopping on it. - Put the slave node under a private mkdtemp() directory instead of a fixed name in /tmp. - Kill the slave side when the master side gives up, with PR_SET_PDEATHSIG as the backstop, so it does not hold the cgroup open against destroy_ve(). - Call destroy_ve() on the one exit path that skipped it. - Default to 60 seconds, from 600. Link to v2: https://lists.openvz.org/pipermail/devel/2026-September/085125.html Changes in v2: 1/2: - Add the Fixes: tag, the code is unchanged. 2/2: - Add the binary to .gitignore. - Formatting: single spaces, one initialiser per line. Link to v1: https://lists.openvz.org/pipermail/devel/2026-September/085081.html Eva Kurchatova (2): selftests: ve: grant the directories the files sit in selftests: ve: introduce vtty pair teardown stress test tools/testing/selftests/ve/.gitignore | 1 + tools/testing/selftests/ve/Makefile | 1 + tools/testing/selftests/ve/ve_perms_test.c | 34 ++- tools/testing/selftests/ve/ve_vtty_stress.c | 314 ++++++++++++++++++++ 4 files changed, 348 insertions(+), 2 deletions(-) create mode 100644 tools/testing/selftests/ve/ve_vtty_stress.c -- 2.55.0 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel