* [linux-next:master] [selftests/damon] 4ece018976: kernel-selftests.damon.sysfs.py.fail
@ 2025-07-22 5:36 kernel test robot
2025-07-22 6:05 ` SeongJae Park
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-07-22 5:36 UTC (permalink / raw)
To: SeongJae Park
Cc: oe-lkp, lkp, Andrew Morton, Shuah Khan, damon, linux-mm, oliver.sang
Hello,
kernel test robot noticed "kernel-selftests.damon.sysfs.py.fail" on:
commit: 4ece01897627ddeefcede4ac709cd99763994dc4 ("selftests/damon: add python and drgn-based DAMON sysfs test")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
[test failed on linux-next/master d086c886ceb9f59dea6c3a9dae7eb89e780a20c9]
in testcase: kernel-selftests
version: kernel-selftests-x86_64-7ff71e6d9239-1_20250215
with following parameters:
group: damon
config: x86_64-rhel-9.4-kselftests
compiler: gcc-12
test machine: 36 threads 1 sockets Intel(R) Core(TM) i9-9980XE CPU @ 3.00GHz (Skylake) with 32G memory
(please refer to attached dmesg/kmsg for entire log/backtrace)
besides the failure of this new added test, we also noticed below tests failed
while passing on parent.
e227472ebf00b6b5 4ece01897627ddeefcede4ac709
---------------- ---------------------------
fail:runs %reproduction fail:runs
| | |
:6 100% 6:6 kernel-selftests.damon.damon_nr_regions.py.fail
:6 100% 6:6 kernel-selftests.damon.damos_quota.py.fail
:6 100% 6:6 kernel-selftests.damon.damos_quota_goal.py.fail
:6 100% 6:6 kernel-selftests.damon.damos_tried_regions.py.fail
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202507220707.9c5d6247-lkp@intel.com
# timeout set to 300
# selftests: damon: sysfs.py
# Traceback (most recent call last):
# File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-4ece01897627ddeefcede4ac709cd99763994dc4/tools/testing/selftests/damon/./sysfs.py", line 42, in <module>
# main()
# File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-4ece01897627ddeefcede4ac709cd99763994dc4/tools/testing/selftests/damon/./sysfs.py", line 31, in main
# status, err = dump_damon_status_dict(kdamonds.kdamonds[0].pid)
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-4ece01897627ddeefcede4ac709cd99763994dc4/tools/testing/selftests/damon/./sysfs.py", line 13, in dump_damon_status_dict
# rc = subprocess.call(['drgn', dump_script, pid, 'damon_dump_output'],
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# File "/usr/lib/python3.11/subprocess.py", line 389, in call
# with Popen(*popenargs, **kwargs) as p:
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__
# self._execute_child(args, executable, preexec_fn, close_fds,
# File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child
# raise child_exception_type(errno_num, err_msg, err_filename)
# FileNotFoundError: [Errno 2] No such file or directory: 'drgn'
not ok 2 selftests: damon: sysfs.py # exit=1
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250722/202507220707.9c5d6247-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-next:master] [selftests/damon] 4ece018976: kernel-selftests.damon.sysfs.py.fail
2025-07-22 5:36 [linux-next:master] [selftests/damon] 4ece018976: kernel-selftests.damon.sysfs.py.fail kernel test robot
@ 2025-07-22 6:05 ` SeongJae Park
0 siblings, 0 replies; 2+ messages in thread
From: SeongJae Park @ 2025-07-22 6:05 UTC (permalink / raw)
To: kernel test robot
Cc: SeongJae Park, oe-lkp, lkp, Andrew Morton, Shuah Khan, damon, linux-mm
On Tue, 22 Jul 2025 13:36:02 +0800 kernel test robot <oliver.sang@intel.com> wrote:
>
>
> Hello,
>
> kernel test robot noticed "kernel-selftests.damon.sysfs.py.fail" on:
>
> commit: 4ece01897627ddeefcede4ac709cd99763994dc4 ("selftests/damon: add python and drgn-based DAMON sysfs test")
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
>
> [test failed on linux-next/master d086c886ceb9f59dea6c3a9dae7eb89e780a20c9]
>
> in testcase: kernel-selftests
> version: kernel-selftests-x86_64-7ff71e6d9239-1_20250215
> with following parameters:
>
> group: damon
>
>
> config: x86_64-rhel-9.4-kselftests
> compiler: gcc-12
> test machine: 36 threads 1 sockets Intel(R) Core(TM) i9-9980XE CPU @ 3.00GHz (Skylake) with 32G memory
>
> (please refer to attached dmesg/kmsg for entire log/backtrace)
>
>
> besides the failure of this new added test, we also noticed below tests failed
> while passing on parent.
>
> e227472ebf00b6b5 4ece01897627ddeefcede4ac709
> ---------------- ---------------------------
> fail:runs %reproduction fail:runs
> | | |
> :6 100% 6:6 kernel-selftests.damon.damon_nr_regions.py.fail
> :6 100% 6:6 kernel-selftests.damon.damos_quota.py.fail
> :6 100% 6:6 kernel-selftests.damon.damos_quota_goal.py.fail
> :6 100% 6:6 kernel-selftests.damon.damos_tried_regions.py.fail
>
>
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <oliver.sang@intel.com>
> | Closes: https://lore.kernel.org/oe-lkp/202507220707.9c5d6247-lkp@intel.com
>
>
>
> # timeout set to 300
> # selftests: damon: sysfs.py
> # Traceback (most recent call last):
> # File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-4ece01897627ddeefcede4ac709cd99763994dc4/tools/testing/selftests/damon/./sysfs.py", line 42, in <module>
> # main()
> # File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-4ece01897627ddeefcede4ac709cd99763994dc4/tools/testing/selftests/damon/./sysfs.py", line 31, in main
> # status, err = dump_damon_status_dict(kdamonds.kdamonds[0].pid)
> # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> # File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-4ece01897627ddeefcede4ac709cd99763994dc4/tools/testing/selftests/damon/./sysfs.py", line 13, in dump_damon_status_dict
> # rc = subprocess.call(['drgn', dump_script, pid, 'damon_dump_output'],
> # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> # File "/usr/lib/python3.11/subprocess.py", line 389, in call
> # with Popen(*popenargs, **kwargs) as p:
> # ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> # File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__
> # self._execute_child(args, executable, preexec_fn, close_fds,
> # File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child
> # raise child_exception_type(errno_num, err_msg, err_filename)
> # FileNotFoundError: [Errno 2] No such file or directory: 'drgn'
> not ok 2 selftests: damon: sysfs.py # exit=1
Thank you for this report! I just posted a fix:
https://lore.kernel.org/20250722060330.56068-1-sj@kernel.org
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-22 6:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-22 5:36 [linux-next:master] [selftests/damon] 4ece018976: kernel-selftests.damon.sysfs.py.fail kernel test robot
2025-07-22 6:05 ` SeongJae Park
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox