From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20186C021B8 for ; Tue, 4 Mar 2025 14:21:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9BB1A6B0088; Tue, 4 Mar 2025 09:21:05 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 968226B008A; Tue, 4 Mar 2025 09:21:05 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 82FA46B0093; Tue, 4 Mar 2025 09:21:05 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 648AC6B0088 for ; Tue, 4 Mar 2025 09:21:05 -0500 (EST) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 172771C5D5C for ; Tue, 4 Mar 2025 14:21:05 +0000 (UTC) X-FDA: 83184080490.14.D43EA18 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by imf19.hostedemail.com (Postfix) with ESMTP id 5A0F81A000F for ; Tue, 4 Mar 2025 14:21:02 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=suse.com header.s=google header.b=KnC72LEw; dmarc=pass (policy=quarantine) header.from=suse.com; spf=pass (imf19.hostedemail.com: domain of mkoutny@suse.com designates 209.85.128.51 as permitted sender) smtp.mailfrom=mkoutny@suse.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1741098063; a=rsa-sha256; cv=none; b=4dtQT6NnHi0TZ3thjdu7ZDWO/lIOVeacI8HSlJ95KsLsgw+QzEKU/txtYnQsQSdUaYGb3C XnMlGXP6GNiGLw0zCzkWjz8WaNT26hsr0g+38mdGts4EXymvIJBfekCoDftGIkl9V52DC2 PopFGePw7P7Of+hhGa7AZ1VQfP3Hs4U= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=suse.com header.s=google header.b=KnC72LEw; dmarc=pass (policy=quarantine) header.from=suse.com; spf=pass (imf19.hostedemail.com: domain of mkoutny@suse.com designates 209.85.128.51 as permitted sender) smtp.mailfrom=mkoutny@suse.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1741098063; h=from:from: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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ms6VvRKF2/scJw/4d4p+LMJvPrNkvNdjmSsh3E28KZE=; b=H9gVl/jIfIDlWSWr4VyvV3vEMvcKC0LtAYfJ+A5Nc6sj0N8hENW3ePmCjLp7Mh0DhqSBfg CWhbNOat1DXuPaToRutFaFqB8D+sTeWSuEep+vP1xY1g3HPNmHmDeubsFVd1PsBL+Ya2bn gIbKz0Zs99bT+nFn67X8kbyevVBbK9M= Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-43bb6b0b898so23313755e9.1 for ; Tue, 04 Mar 2025 06:21:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1741098060; x=1741702860; darn=kvack.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ms6VvRKF2/scJw/4d4p+LMJvPrNkvNdjmSsh3E28KZE=; b=KnC72LEwEQ6u+pLa4yGTrJluvubHnpGWUIUtMBtYUDmfdBhSt+CAAlKKtwuUil4ZI+ BeqM0W/1NbMTzHyv1NbHcEGvbq8bIh75rq5VQDn6BYHQ+krO7KyzsJxPITBR4rDBWWEO Pz9yFma6G2prONKdTwWU+X2lRJUFBj87PiBxEFrJuLkMrgzmVbEEX0oYmbmAaVO9y8ex WUAZz/iRvR9XiojfJA7zoOPgZGlgs2YebkK8zQm9aksuuc5S1ynpm5/8LrsOjSQOpcrQ Q09YVbY89P++85iCeA6/GEVHd+12t7lZgls82FBD2K5dxWnoUUERgC9xKCcXz8jgrn56 TJfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741098060; x=1741702860; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ms6VvRKF2/scJw/4d4p+LMJvPrNkvNdjmSsh3E28KZE=; b=ie30EkYxU9hRHCqxB5R6pXpwfgBwrT7xaHl73jeyk2tIMM0mpvAbQDX/wgDYm1lgeX DDE//TDi6GFLXq/4snMLf7JnNAaymYG3RK3rtemw+yB2pumWaZVh9YT1pVR73IWEXAUt DAardHbcX9FVWk6+f9ZqB2KpJ0Jr51Ojo36o8K9vwHAAQbQYgCvvC2tIHP0xKlGYgbZ8 9yIuziaCOXHR3UlujFkXqBwOArQgH81YQTjFPsB36OZ9jzbWH14GnA3Z5BHAloVUzBnn daIle9tgENP90i7CAM0kZswbEOsRYF0l2xQX21uQJBhc42AEkWwfapHw304yxPr+YxcY KcYQ== X-Forwarded-Encrypted: i=1; AJvYcCXGnmMNISdiNtHPXLGYfvmT5dVQ41Wu5Mm3Gp87JbX6m5tClCHt4kStCpjxOMt8DJoFW6eFVB071Q==@kvack.org X-Gm-Message-State: AOJu0YwWZr8TnQvIOeUJPGf+L4KTB5JtbirvAsiolt7tQ2vhnRN6FAOR GXqdLxC8IFV5+WBC1TgjQzsYQ12hAQ9xvfBwH4zx/cslBnoO44mirKqQwpaNT6g= X-Gm-Gg: ASbGnctj00be3S0ntEz6CD6URJCyuR2iKqhXbkbipNKqnnpNXQOnGqUE70Y5hbQ93Qi xOdnBvBSVQ2IIGeLA6/wK/ZCQmpePtI3ZMgBLloCygZhs6qAiP1TueofvVGMqMIPq7CNDm1G2Zh e/Hn+k/rHVI6zWN/1xWQbAqoTlNWXEtfVmSrMI5smNnIhcgvhjGMy2s2etKMOSQlFzCOap9+p8L rqU5DZDaVV7QtrYPOPsFEK4becgwKe4E2cc3BwyqJYLR5oi8IbWte078e1TvN38K8tSFhTB5jUR A4haf6O8Q6yPyikRVckhD5avpVvU3wsKLMyd5kAlYv9o8D8= X-Google-Smtp-Source: AGHT+IGxVfqxe0VMsjPEv2lBj+Xq4zB28tu8D9cFC/yICb/A0zbJo5FOmgG0O+CLVTr2S/kHcSjcLw== X-Received: by 2002:a05:6000:188c:b0:38d:e15e:17e1 with SMTP id ffacd0b85a97d-390ec7c6743mr14760832f8f.10.1741098060456; Tue, 04 Mar 2025 06:21:00 -0800 (PST) Received: from blackdock.suse.cz ([193.86.92.181]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43bc1a7429csm75810925e9.36.2025.03.04.06.20.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Mar 2025 06:21:00 -0800 (PST) Date: Tue, 4 Mar 2025 15:20:58 +0100 From: Michal =?utf-8?Q?Koutn=C3=BD?= To: Naresh Kamboju Cc: Cgroups , linux-mm , "open list:KERNEL SELFTEST FRAMEWORK" , open list , Shuah Khan , Dan Carpenter , Arnd Bergmann , Anders Roxell , Tejun Heo , Johannes Weiner Subject: Re: selftests: cgroup: Failures =?utf-8?B?4oCTIFRpbWVvdXQ=?= =?utf-8?Q?s?= & OOM Issues Analysis Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pcfzwvt6k4h7ttan" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 5A0F81A000F X-Stat-Signature: ymetkhe8orenf74rzccfjmphm8gonona X-Rspam-User: X-Rspamd-Server: rspam05 X-HE-Tag: 1741098062-221803 X-HE-Meta: U2Fs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Lrnf0b4P2fe025nof4TAR3lZLt/NRzdW/Dn0/4xz3EkzD0VFUzwHKJLDtzgNb7S6Defe5Zv709SJcOmfSdioiWiHvT0cx9KPqqsOC7RgkNcxX1KqlEHdMdyDog2mwVphG+qSmRQlzMMgEjI76JK0YiISRyo6q3kUTwLBOfwa8K1vktTsMHYL3MUTVCZBOmWCuWBPvN43/ktZtDTWSzTssr9djmslFdXXcLSuKvLPB9hy+XfEnXU8yyRXTIS9TOP2imrASuAdhVot7ej/Q88gnwOfvj4HatlKtbcrOGilbjuDLv5fMxMOW8/daQ1kcjEya4Hlt9IMeJvoHiuDSdNTEjQpVuog0Z1Z/bEKPSyeCmOjF0xpZ0Ik25w2JdhpgWMRxps/bs6IHe+a+k76pVvzYOsePByh X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: --pcfzwvt6k4h7ttan Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: selftests: cgroup: Failures =?utf-8?B?4oCTIFRpbWVvdXQ=?= =?utf-8?Q?s?= & OOM Issues Analysis MIME-Version: 1.0 Hello Naresh. On Tue, Mar 04, 2025 at 05:26:45PM +0530, Naresh Kamboju wrote: > As part of LKFT=E2=80=99s re-validation of known issues, we have observed= that > the selftests: cgroup suite is consistently failing across almost all > LKFT-supported devices due to: > - Test timeouts (45 seconds limit reached) > - OOM-killer invocation Thanks for reporting the issues with the tests. > ## Key Questions for Discussion: > - Would it be beneficial to increase the test timeout to ~180 seconds > to allow sufficient execution time? That depends. test_cpu has some lenghtier checks and they can in sum surpass 45s, it'd might be better to shorten them (withing precision margin) instead of prolonging the limit. test_kmem -- it shouldn't take so long, if anything I'd suspect /proc/kpagecgroup -- are your systems larger than 100GiB of memory (that's my rough estimate for this reads to take above the limit)? (Are there any other timeouts?) OOM -- some tests are supposed to trigger memcg OOM. > - Should we enhance logging to explicitly print failure reasons when a > test fails? These tests are useful when run by developers them_selves_. In such a case it's handy to obtain more info running them understrace (since they're so simple). > - Are there any missing dependencies that could be causing these failure= s? > Note: The required selftests/cgroup/config options were included in > LKFT's build and test plans. The deps are rather minimal, only some coreutils (cgroup selftests should be covered by e.g. this list [1]). >=20 > ## Devices Affected: > The following DUTs consistently experience these failures: > - dragonboard-410c (arm64) > - dragonboard-845c (arm64) > - e850-96 (arm64) > - juno-r2 (arm64) > - qemu-arm64 (arm64) > - qemu-armv7 > - qemu-x86_64 > - rk3399-rock-pi-4b (arm64) > - x15 (arm) > - x86_64 >=20 > Regression Analysis: > - New regression? No (these failures have been observed for months/years= ). Actually, I noticed test_memcontrol failure yesterday (with ~mainline kernel) but I remember they used to work also rather recently. I haven't got time to look into that but at least that one may be a regression (in code or test). > - Reproducibility? Yes, the failures occur consistently. +/- as that may depend no nr_cpus or totalram. > - Test suite affected? selftests: cgroup (timeouts and OOM-related failu= res). Michal --pcfzwvt6k4h7ttan Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTd6mfF2PbEZnpdoAkt3Wney77BSQUCZ8cMRwAKCRAt3Wney77B SRJxAP9P0BNVxEJoSyAW/NxnhKcTEwUAjxmtBvpDFXXGLv3UfwEA7O8iCYplvX71 vK94Co38SIprgRkg1DKFarv2l4U5OQg= =OykF -----END PGP SIGNATURE----- --pcfzwvt6k4h7ttan--