ftrace/test_ownership kselftest fails in the second run
From: Masahiro Yamada
Date: Mon May 20 2024 - 13:35:50 EST
Hi Steven,
If I execute test.d/00basic/test_ownership.tc in a row,
it passes in the first run, and fails in the second run.
I observe this on the Ubuntu 24.04 (6.8 kernel),
and also on the latest linux-next (next-20240520).
Is this a limitation of the test or a kernel bug?
vagrant@debian:~/linux/tools/testing/selftests/ftrace$ sudo
/ftracetest test.d/00basic/test_ownership.tc
unlink: cannot unlink
'/home/vagrant/linux/tools/testing/selftests/ftrace/logs/latest': No
such file or directory
=== Ftrace unit tests ===
[1] Test file and directory ownership changes for eventfs [PASS]
# of passed: 1
# of failed: 0
# of unresolved: 0
# of untested: 0
# of unsupported: 0
# of xfailed: 0
# of undefined(test bug): 0
vagrant@debian:~/linux/tools/testing/selftests/ftrace$ sudo
/ftracetest test.d/00basic/test_ownership.tc
=== Ftrace unit tests ===
[1] Test file and directory ownership changes for eventfs [FAIL]
# of passed: 0
# of failed: 1
# of unresolved: 0
# of untested: 0
# of unsupported: 0
# of xfailed: 0
# of undefined(test bug): 0
vagrant@debian:~/linux/tools/testing/selftests/ftrace$ uname -r
6.9.0-next-20240520
--
Best Regards
Masahiro Yamada