Message ID | 20240221-lp-selftests-fixes-v2-0-a19be1e029a7@suse.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-75181-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp1177716dyc; Wed, 21 Feb 2024 09:18:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUjWB1HLCd4tKCliaoKDrHenstg499Qj7E2DfOruyF4gRMaLRUAQNEO750eU4ULnMjvSvcBSk3S8tKcMVZblWsVUte94A== X-Google-Smtp-Source: AGHT+IErssX/+TkWhLlE1lcfz8l2fBtxYgf2n/cVcBugOx/VvyEfY35k8dLJGZSi42reZGdRM1Mz X-Received: by 2002:a17:90b:1201:b0:299:560e:d981 with SMTP id gl1-20020a17090b120100b00299560ed981mr11329999pjb.26.1708535904504; Wed, 21 Feb 2024 09:18:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708535904; cv=pass; d=google.com; s=arc-20160816; b=r9NKuz9yraO2+f/vti2PIZRgwtGlZnbwHA1X84cYWRjrW2DT1WRn/2PslVVMKIJsSu Q+t8DBKzVSPQagFnF1wbbYq6WDGFX4x47SkIM17mc6x7/NBgPYsXWEQyO5LTRc1MSi31 tJ2JgXbvmvck7716UTDTBq8vMWc6moqSbeWRLoMazaS6QyBIpA5qscI/7uEcM2TsmSX4 K+ffvb8p7gqR8HPvP/CW0hWb6D5hZhge6HbS3p3lKQWi8wW4OAkPYQIQLFinaYJ7qEC0 b4FDhMmf2usNHJT593yQRHhnZcAHlbDjcGI2f2HBppmrZWJ/i5pAXMNEJ5H1QftDgyjF D4Pg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature:dkim-signature; bh=/NN2+sq1xAVLXm/JkL3fp/m2niJueXoLh/i76v1f6HM=; fh=wq/8FRvx9rcFgVCe3ZmzYS1pgimebarJ6aWkDgUl4KA=; b=OjEzY4H6aagk0C4EFVG3hYGxv3YoRaqnn17AmGmQGd8gl6q8UI4/SlaY4ERngEDVOj gJw378txGAQ3Lws5fkCCSJG4I2lc2GPwVweTqmTh0WwS3V53DfN+FuO8llI+yjRj0eez r18nKpIXJNumj4X58SWJXaABnPC6v0I3Z4zDOYPjE+TMJo/+rtC6M2hzsKrPhDAD4pbr nieo8ko6VGX3bxEpkqRpPEnd3jhR8UqrNGOBuUbe7dxH81iX2tm1BCOpomocDam6l5cn 82bip1TQCpYKbr7zSUaWiOMRyvZfKcdwFQx8/cafhWH8LgVz7j+BkkwpN9VXBgKqlgK3 +/ZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="erenU/EI"; dkim=pass header.i=@suse.com header.s=susede1 header.b="erenU/EI"; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-75181-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75181-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id l4-20020a17090aec0400b00298cdde505dsi8597329pjy.144.2024.02.21.09.18.24 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 09:18:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75181-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="erenU/EI"; dkim=pass header.i=@suse.com header.s=susede1 header.b="erenU/EI"; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-75181-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75181-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5469A2860AF for <ouuuleilei@gmail.com>; Wed, 21 Feb 2024 17:18:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4093F8564B; Wed, 21 Feb 2024 17:17:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="erenU/EI"; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="erenU/EI" Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C2EA47F7EA; Wed, 21 Feb 2024 17:17:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708535838; cv=none; b=uwxtP6X1puqxxvYrkAi35c2ounL4pPzqhZ0XwbF79s0Beo1PoUwJ3Nwu+gUnG2zxv5vhnHvaLx4BBwrRr9mje0acpQS7if3GzvsiLI26uh1qvbyLmGop3dqS3/nhj7oqQJS3EACpogTMrpP0qiVXaUrRzKJtR13An4Y7V4YT56Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708535838; c=relaxed/simple; bh=nS/ZyedR6nH3JtZFpVfJkjI78xte1D6C4RPjQY5fx1o=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=tDCLPe0NQIna2u9l058dILn0iWs8tBaACafjq5iQUT2vcu0L+8oAN1yOFPGAjlRBMdK3sg0QbNgGc0tmosJ9uv1Ftlaqw69QUuwVTiyXtMPByjjJu5YGX50Pf9Hg0Sri4gYS1Qd4F6aUZRFl5FqZfh7Ex9iyjTTLQt/55zlncL0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=erenU/EI; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=erenU/EI; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [10.150.64.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id B42ED1FB73; Wed, 21 Feb 2024 17:17:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1708535833; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/NN2+sq1xAVLXm/JkL3fp/m2niJueXoLh/i76v1f6HM=; b=erenU/EI2kK79/+VjbTDGnWWYfOzm70d/lYQleCEHRmb9Sa90mXWWKxaN3E8j7IL/RE6pF XKmXrp7Z20ddG05Na36FCJEhPPmhO5AnBCu2DETHymiEgVUvrcxD187eVSMnCIJqp1QXBD Wo73jHUfqoM20nAPR9PI1AJc3GYQyxY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1708535833; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/NN2+sq1xAVLXm/JkL3fp/m2niJueXoLh/i76v1f6HM=; b=erenU/EI2kK79/+VjbTDGnWWYfOzm70d/lYQleCEHRmb9Sa90mXWWKxaN3E8j7IL/RE6pF XKmXrp7Z20ddG05Na36FCJEhPPmhO5AnBCu2DETHymiEgVUvrcxD187eVSMnCIJqp1QXBD Wo73jHUfqoM20nAPR9PI1AJc3GYQyxY= Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id 275B513A25; Wed, 21 Feb 2024 17:17:12 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id Mbv6Nxgw1mUIcQAAn2gu4w (envelope-from <mpdesouza@suse.com>); Wed, 21 Feb 2024 17:17:12 +0000 From: Marcos Paulo de Souza <mpdesouza@suse.com> Subject: [PATCH v2 0/4] Improvements to livepatch kselftests on top of kselftest-next Date: Wed, 21 Feb 2024 14:17:02 -0300 Message-Id: <20240221-lp-selftests-fixes-v2-0-a19be1e029a7@suse.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAA4w1mUC/32NQQ6CMBBFr0Jm7Zi2FlFW3sOwgHYqTRBIpzYa0 rtbOYDL93/e/xswBU8MbbVBoOTZL3MBdajAjP38IPS2MCihtFCyxmlFpslF4sjo/JsYG6uHfjg Z0UgFRVwD7UXx7l3h0XNcwmf/SPKX/p1LEgVerk73Z1cba82NX0xHszyhyzl/AT4GEcmzAAAA To: Shuah Khan <shuah@kernel.org>, Josh Poimboeuf <jpoimboe@kernel.org>, Jiri Kosina <jikos@kernel.org>, Miroslav Benes <mbenes@suse.cz>, Petr Mladek <pmladek@suse.com>, Joe Lawrence <joe.lawrence@redhat.com> Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Marcos Paulo de Souza <mpdesouza@suse.com>, kernel test robot <lkp@intel.com> X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1708535830; l=1557; i=mpdesouza@suse.com; s=20231031; h=from:subject:message-id; bh=nS/ZyedR6nH3JtZFpVfJkjI78xte1D6C4RPjQY5fx1o=; b=Tp+GghEI83ax7qFfhbqafKjq2aCbkMAEFZIyyXNaLDXTffEFAH3CyuLWNSY3ebRB8PyfQCLs2 YNutPLAjDvcCvX7PiGSKF1R8MokMzEIJFrp4XTbhBrOh6PwooYNXGvW X-Developer-Key: i=mpdesouza@suse.com; a=ed25519; pk=/Ni/TsKkr69EOmdZXkp1Q/BlzDonbOBRsfPa18ySIwU= Authentication-Results: smtp-out2.suse.de; none X-Spamd-Result: default: False [-0.18 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; BAYES_HAM(-0.08)[63.83%]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; RCPT_COUNT_SEVEN(0.00)[11]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.com:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Level: X-Spam-Flag: NO X-Spam-Score: -0.18 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791529744416709235 X-GMAIL-MSGID: 1791529744416709235 |
Series |
Improvements to livepatch kselftests on top of kselftest-next
|
|
Message
Marcos Paulo de Souza
Feb. 21, 2024, 5:17 p.m. UTC
The changes on lib.mk are both for simplification and also
clarification, like in the case of not handling TEST_GEN_MODS_DIR
directly. There is a new patch to solve one issue reported by build bot.
These changes apply on top of the current kselftest-next branch. Please
review!
Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
---
Changes in v2:
- Added a new patch to avoid building the modules/running the tests if
kernel-devel is not installed. Resolving an issue reported by the
build bot.
- Reordered the patches, showing the more simple ones first. Besides
patch 0002, all the other three didn't changed since v1.
- Link to v1: https://lore.kernel.org/r/20240215-lp-selftests-fixes-v1-0-89f4a6f5cddc@suse.com
---
Marcos Paulo de Souza (4):
selftests: livepatch: Add initial .gitignore
selftests: livepatch: Avoid running the tests if kernel-devel is missing
selftests: lib.mk: Do not process TEST_GEN_MODS_DIR
selftests: lib.mk: Simplify TEST_GEN_MODS_DIR handling
tools/testing/selftests/lib.mk | 19 +++++++------------
tools/testing/selftests/livepatch/.gitignore | 1 +
tools/testing/selftests/livepatch/functions.sh | 13 +++++++++++++
.../testing/selftests/livepatch/test_modules/Makefile | 6 ++++++
4 files changed, 27 insertions(+), 12 deletions(-)
---
base-commit: 6f1a214d446b2f2f9c8c4b96755a8f0316ba4436
change-id: 20240215-lp-selftests-fixes-7d4bab3c0712
Best regards,
Comments
On 2/21/24 10:17, Marcos Paulo de Souza wrote: > The changes on lib.mk are both for simplification and also > clarification, like in the case of not handling TEST_GEN_MODS_DIR > directly. There is a new patch to solve one issue reported by build bot. > > These changes apply on top of the current kselftest-next branch. Please > review! > > Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com> > --- > Changes in v2: > - Added a new patch to avoid building the modules/running the tests if > kernel-devel is not installed. Resolving an issue reported by the > build bot. > - Reordered the patches, showing the more simple ones first. Besides > patch 0002, all the other three didn't changed since v1. > - Link to v1: https://lore.kernel.org/r/20240215-lp-selftests-fixes-v1-0-89f4a6f5cddc@suse.com > > --- > Marcos Paulo de Souza (4): > selftests: livepatch: Add initial .gitignore > selftests: livepatch: Avoid running the tests if kernel-devel is missing > selftests: lib.mk: Do not process TEST_GEN_MODS_DIR > selftests: lib.mk: Simplify TEST_GEN_MODS_DIR handling > > tools/testing/selftests/lib.mk | 19 +++++++------------ > tools/testing/selftests/livepatch/.gitignore | 1 + > tools/testing/selftests/livepatch/functions.sh | 13 +++++++++++++ > .../testing/selftests/livepatch/test_modules/Makefile | 6 ++++++ > 4 files changed, 27 insertions(+), 12 deletions(-) > --- > base-commit: 6f1a214d446b2f2f9c8c4b96755a8f0316ba4436 > change-id: 20240215-lp-selftests-fixes-7d4bab3c0712 > > Best regards, Applied all except the last patch to linux-kelftest next for Linux 6.9-rc1 thanks, -- Shuah