[LTP] memcg/functional: fix memcg_failcnt intermittent timeout by disabling swap
Andrea Cervesato
andrea.cervesato@suse.com
Fri Aug 7 07:34:49 CEST 2026
Hi Li,
> Fair point that ignoring the return status defeats the purpose. But I'd
> rather not TBROK on a swapoff failure, that's an environment limitation,
> not a test failure. Especially swapoff here is an enhancement but not
> a hard requirement for this test.
I agree.
> That is a bit over-engineering.
>
> If an inactive fstab entry gets activated by swapon -a, that arguably
> points to a misconfigured test host rather than something this test
> should work around.
And also here. Unfortunately we don't have enough data for shell tests,
so AI agent is not really working well in there..
Honestly I don't know how to fix this but adding more examples which
we don't have..
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com
More information about the ltp
mailing list