From: "Michal Koutný" <mkoutny@suse.com>
To: Naresh Kamboju <naresh.kamboju@linaro.org>
Cc: Cgroups <cgroups@vger.kernel.org>, linux-mm <linux-mm@kvack.org>,
"open list:KERNEL SELFTEST FRAMEWORK"
<linux-kselftest@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>,
Shuah Khan <shuah@kernel.org>,
Dan Carpenter <dan.carpenter@linaro.org>,
Arnd Bergmann <arnd@arndb.de>,
Anders Roxell <anders.roxell@linaro.org>,
Tejun Heo <tj@kernel.org>, Johannes Weiner <hannes@cmpxchg.org>
Subject: Re: selftests: cgroup: Failures – Timeouts & OOM Issues Analysis
Date: Tue, 4 Mar 2025 15:20:58 +0100 [thread overview]
Message-ID: <exfgzrx7u3s77gsoxqzm4zhb6mr7aysc2vzus5ob3zeadkm7ut@3dzkywk3jfqr> (raw)
In-Reply-To: <CA+G9fYsrfM62=kr=q1nu_Nx9-sTHQw-6A-3OWkiqgs4JiKzvgA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2515 bytes --]
Hello Naresh.
On Tue, Mar 04, 2025 at 05:26:45PM +0530, Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
> As part of LKFT’s 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 failures?
> 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]).
>
> ## 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
>
> 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 failures).
Michal
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2025-03-04 14:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-04 11:56 Naresh Kamboju
2025-03-04 14:20 ` Michal Koutný [this message]
2025-04-14 13:46 ` Michal Koutný
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=exfgzrx7u3s77gsoxqzm4zhb6mr7aysc2vzus5ob3zeadkm7ut@3dzkywk3jfqr \
--to=mkoutny@suse.com \
--cc=anders.roxell@linaro.org \
--cc=arnd@arndb.de \
--cc=cgroups@vger.kernel.org \
--cc=dan.carpenter@linaro.org \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=naresh.kamboju@linaro.org \
--cc=shuah@kernel.org \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox