From: Li Wang <li.wang@linux.dev>
To: Andrea Cervesato <andrea.cervesato@suse.de>
Cc: Linux Test Project <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH v2 2/2] tst_cgroup: tolerate ESRCH in cgroup_drain()
Date: Tue, 16 Jun 2026 20:13:18 +0800 [thread overview]
Message-ID: <ajE93jNipmY0ki3Y@linux.dev> (raw)
In-Reply-To: <20260616-fix_pids_errors-v2-2-a1e1d377f8b7@suse.com>
On Tue, Jun 16, 2026 at 10:30:07AM +0200, Andrea Cervesato wrote:
> From: Andrea Cervesato <andrea.cervesato@suse.com>
>
> A process can die between reading cgroup.procs and writing its PID
> to the destination cgroup. When this happens, the kernel returns
> ESRCH which is a normal race condition, not a test infrastructure
> failure.
>
> Skip ESRCH errors instead of aborting with TBROK.
>
> Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
Reviewed-by: Li Wang <li.wang@linux.dev>
--
Regards,
Li Wang
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2026-06-16 12:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-16 8:30 [LTP] [PATCH v2 0/2] Fix sporadic failures in pids shell tests Andrea Cervesato
2026-06-16 8:30 ` [LTP] [PATCH v2 1/2] pids: fix cleanup of orphaned pids_task1 children Andrea Cervesato
2026-06-16 10:10 ` [LTP] " linuxtestproject.agent
2026-06-16 8:30 ` [LTP] [PATCH v2 2/2] tst_cgroup: tolerate ESRCH in cgroup_drain() Andrea Cervesato
2026-06-16 12:13 ` Li Wang [this message]
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=ajE93jNipmY0ki3Y@linux.dev \
--to=li.wang@linux.dev \
--cc=andrea.cervesato@suse.de \
--cc=ltp@lists.linux.it \
/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