linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: SeongJae Park <sj@kernel.org>
To: kernel test robot <oliver.sang@intel.com>
Cc: SeongJae Park <sj@kernel.org>,
	oe-lkp@lists.linux.dev, lkp@intel.com,
	Andrew Morton <akpm@linux-foundation.org>,
	Shuah Khan <shuah@kernel.org>,
	damon@lists.linux.dev, linux-mm@kvack.org
Subject: Re: [linux-next:master] [selftests/damon]  4ece018976: kernel-selftests.damon.sysfs.py.fail
Date: Mon, 21 Jul 2025 23:05:06 -0700	[thread overview]
Message-ID: <20250722060506.56112-1-sj@kernel.org> (raw)
In-Reply-To: <202507220707.9c5d6247-lkp@intel.com>

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

[...]


      reply	other threads:[~2025-07-22  6:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-22  5:36 kernel test robot
2025-07-22  6:05 ` SeongJae Park [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=20250722060506.56112-1-sj@kernel.org \
    --to=sj@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=damon@lists.linux.dev \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=oe-lkp@lists.linux.dev \
    --cc=oliver.sang@intel.com \
    --cc=shuah@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