From nobody Mon Jun 8 18:55:57 2026 Received: from smtpbgeu1.qq.com (smtpbgeu1.qq.com [52.59.177.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 755093ED131; Wed, 27 May 2026 10:02:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=52.59.177.22 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779876150; cv=none; b=P0sOL3cinmJvJEwIC2XDfSu+0gbELHkL1RgrNvL6PLFOrSzAFuUavfEn4d40pQmcoWP/B4DOnOHtx67vobm2KYY5KYxkky7yx9e1nNPlaSD3vzt7doZEtIW9IqCOa9gUIioMCUfmDsiXusFNJgMZLv5oiOMwGZsnRVveWhoaeDY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779876150; c=relaxed/simple; bh=PYX1cxlUf8UVwKS1WwMEbVBP1z6XkprOaLUujII/8II=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=bOS9Z1z8WgvFhteMPb0rXj0bDn/smaPz85QQEPqvENTRYEAZT2ApW7T05LtT/BI8tBlaauvYR09OmZJda4fpS7aFhjqm1+z3NCrrUJdSFiC5RXQMrAD+bt2E9c5LfkKfiKmkA19vd6HE1oD3T/rEIWUlZq6MHAeb2ZBGKnc77OQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com; spf=pass smtp.mailfrom=uniontech.com; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b=IerDiUMX; arc=none smtp.client-ip=52.59.177.22 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniontech.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b="IerDiUMX" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uniontech.com; s=onoh2408; t=1779875996; bh=Puxwd/zHsLT9Zqn15gB8jpymWS5iWgiQISfMu0Rxp1w=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=IerDiUMXMnpEl5WOLpK6focgFS7euzCv9009XGMFRPuf8GwQARZDhKYsgrg3Fazi0 LZeIgiQyQnJYhpeErVPdfapiqn/uAH6UBqcVA7X+JU8OQFODqZqX6Une6zPnfo/P6F fTo4ZIyW+3LrTPBiZcqyZcXpqtPIYryojQYO9ZH4= X-QQ-mid: zesmtpgz4t1779875976tfbe5bfca X-QQ-Originating-IP: hlywEGLp0Eo33lqBLBl8hm2NvT8miW2C8iwGT27xDU0= Received: from localhost.localdomain ( [123.114.60.34]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 27 May 2026 17:59:34 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 1 X-BIZMAIL-ID: 3179466971943245431 EX-QQ-RecipientCnt: 10 From: Qiang Ma To: jpoimboe@kernel.org, jikos@kernel.org, mbenes@suse.cz, pmladek@suse.com, joe.lawrence@redhat.com, shuah@kernel.org Cc: live-patching@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Qiang Ma Subject: [PATCH] selftests: livepatch: set LC_ALL=C to fix locale-dependent test failure Date: Wed, 27 May 2026 17:59:29 +0800 Message-Id: <20260527095929.1504032-1-maqianga@uniontech.com> X-Mailer: git-send-email 2.20.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-QQ-SENDSIZE: 520 Feedback-ID: zesmtpgz:uniontech.com:qybglogicsvrsz:qybglogicsvrsz3b-0 X-QQ-XMAILINFO: OTgf4KY4LuFySAaRqvY7BdfH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INFO: MPJ6Tf5t3I/ylTmHUqvI8+Wpn+Gzalws3A== X-QQ-RECHKSPAM: 0 When executing the command "make -C tools/testing/selftests TARGETS=3Dlivepatch run_tests", the following error message was reported. TEST: livepatch interaction with ftrace_enabled sysctl ... not ok ... livepatch: sysctlo : setting key "kernel.ftrace_enabled": Device or resource busy livepatch: sysctl: setting key "kernel.ftrace_enabled": =E8=AE=BE=E5=A4=87= =E6=88=96=E8=B5=84=E6=BA=90=E5=BF=99 ... ERROR: livepatch kselftest(s) failed not ok 5 selftests: livepatch: test-ftrace.sh # exit=3D1 To fix it, set LC_ALL=3DC. Signed-off-by: Qiang Ma Acked-by: Miroslav Benes Acked-by: Petr Mladek --- tools/testing/selftests/livepatch/functions.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/livepatch/functions.sh b/tools/testing= /selftests/livepatch/functions.sh index 8ec0cb64ad94..ecf27c1120f1 100644 --- a/tools/testing/selftests/livepatch/functions.sh +++ b/tools/testing/selftests/livepatch/functions.sh @@ -4,6 +4,8 @@ =20 # Shell functions for the rest of the scripts. =20 +export LC_ALL=3DC + MAX_RETRIES=3D600 RETRY_INTERVAL=3D".1" # seconds SYSFS_KERNEL_DIR=3D"/sys/kernel" --=20 2.20.1