All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <oliver.sang@intel.com>
To: Enze Li <lienze@kylinos.cn>
Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>,
	<damon@lists.linux.dev>, <linux-mm@kvack.org>, <sj@kernel.org>,
	<lienze@kylinos.cn>, <oliver.sang@intel.com>
Subject: Re: [PATCH] mm/damon: make region calculations more precise
Date: Thu, 29 May 2025 13:53:12 +0800	[thread overview]
Message-ID: <202505291314.d61b1bcb-lkp@intel.com> (raw)
In-Reply-To: <20250521070747.1458270-1-lienze@kylinos.cn>


Hello,

kernel test robot noticed "kunit.damon-operations.damon_test_split_evenly.fail" on:

commit: fe301d6b4b4aec003ff84aa4d2860e772b147225 ("[PATCH] mm/damon: make region calculations more precise")
url: https://github.com/intel-lab-lkp/linux/commits/Enze-Li/mm-damon-make-region-calculations-more-precise/20250521-151059
patch link: https://lore.kernel.org/all/20250521070747.1458270-1-lienze@kylinos.cn/
patch subject: [PATCH] mm/damon: make region calculations more precise

in testcase: kunit
version: 
with following parameters:

	group: group-03



config: x86_64-rhel-9.4-kunit
compiler: gcc-12
test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (Haswell) with 16G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)




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/202505291314.d61b1bcb-lkp@intel.com


[  109.399987]     KTAP version 1
[  109.403771]     # Subtest: damon-operations
[  109.408675]     # module: vaddr
[  109.408682]     1..6
[  109.416216]     ok 1 damon_test_three_regions_in_vmas
[  109.416463]     ok 2 damon_test_apply_three_regions1
[  109.422542]     ok 3 damon_test_apply_three_regions2
[  109.428508]     ok 4 damon_test_apply_three_regions3
[  109.434509]     ok 5 damon_test_apply_three_regions4
[  109.440399]     # damon_test_split_evenly: EXPECTATION FAILED at mm/damon/tests/vaddr-kunit.h:290
                   Expected r->ar.end == start + i * expected_width, but
                       r->ar.end == 16 (0x10)
                       start + i * expected_width == 15 (0xf)
[  109.446223]     # damon_test_split_evenly: EXPECTATION FAILED at mm/damon/tests/vaddr-kunit.h:288
                   Expected r->ar.start == start + i++ * expected_width, but
                       r->ar.start == 16 (0x10)
                       start + i++ * expected_width == 15 (0xf)
[  109.473938]     # damon_test_split_evenly: EXPECTATION FAILED at mm/damon/tests/vaddr-kunit.h:290
                   Expected r->ar.end == start + i * expected_width, but
                       r->ar.end == 27 (0x1b)
                       start + i * expected_width == 25 (0x19)
[  109.502332]     # damon_test_split_evenly: EXPECTATION FAILED at mm/damon/tests/vaddr-kunit.h:288
                   Expected r->ar.start == start + i++ * expected_width, but
                       r->ar.start == 27 (0x1b)
                       start + i++ * expected_width == 25 (0x19)
[  109.530150]     # damon_test_split_evenly: EXPECTATION FAILED at mm/damon/tests/vaddr-kunit.h:290
                   Expected r->ar.end == start + i * expected_width, but
                       r->ar.end == 38 (0x26)
                       start + i * expected_width == 35 (0x23)
[  109.558624]     # damon_test_split_evenly: EXPECTATION FAILED at mm/damon/tests/vaddr-kunit.h:288
                   Expected r->ar.start == start + i++ * expected_width, but
                       r->ar.start == 38 (0x26)
                       start + i++ * expected_width == 35 (0x23)
[  109.586405]     # damon_test_split_evenly: EXPECTATION FAILED at mm/damon/tests/vaddr-kunit.h:290
                   Expected r->ar.end == start + i * expected_width, but
                       r->ar.end == 49 (0x31)
                       start + i * expected_width == 45 (0x2d)
[  109.614882]     # damon_test_split_evenly: EXPECTATION FAILED at mm/damon/tests/vaddr-kunit.h:283
                   Expected r->ar.start == start + i * expected_width, but
                       r->ar.start == 49 (0x31)
                       start + i * expected_width == 45 (0x2d)
[  109.642682]     # damon_test_split_evenly: EXPECTATION FAILED at mm/damon/tests/vaddr-kunit.h:290
                   Expected r->ar.end == start + i * expected_width, but
                       r->ar.end == 2 (0x2)
                       start + i * expected_width == 1 (0x1)
[  109.670817]     # damon_test_split_evenly: EXPECTATION FAILED at mm/damon/tests/vaddr-kunit.h:283
                   Expected r->ar.start == start + i * expected_width, but
                       r->ar.start == 2 (0x2)
                       start + i * expected_width == 1 (0x1)
[  109.698255]     # damon_test_split_evenly: EXPECTATION FAILED at mm/damon/tests/vaddr-kunit.h:256
                   Expected damon_va_evenly_split_region(t, r, nr_pieces) == -22, but
                       damon_va_evenly_split_region(t, r, nr_pieces) == 0 (0x0)
[  109.751585]     # damon_test_split_evenly: EXPECTATION FAILED at mm/damon/tests/vaddr-kunit.h:258
                   Expected damon_nr_regions(t) == 1u, but
                       damon_nr_regions(t) == 2 (0x2)
                       1u == 1 (0x1)
[  109.751634]     # damon_test_split_evenly: EXPECTATION FAILED at mm/damon/tests/vaddr-kunit.h:261
                   Expected r->ar.start == start, but
                       r->ar.start == 6 (0x6)
                       start == 5 (0x5)
[  109.776758]     not ok 6 damon_test_split_evenly
[  109.800835] # damon-operations: pass:5 fail:1 skip:0 total:6
[  109.806182] # Totals: pass:5 fail:1 skip:0 total:6
[  109.812563] not ok 4 damon-operations


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250529/202505291314.d61b1bcb-lkp@intel.com


-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


  parent reply	other threads:[~2025-05-29  5:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-21  7:07 [PATCH] mm/damon: make region calculations more precise Enze Li
2025-05-21 17:18 ` SeongJae Park
2025-05-22  1:53   ` Enze Li
2025-05-22 17:16     ` SeongJae Park
2025-05-29  5:53 ` kernel test robot [this message]
2025-05-29 16:41   ` SeongJae Park

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=202505291314.d61b1bcb-lkp@intel.com \
    --to=oliver.sang@intel.com \
    --cc=damon@lists.linux.dev \
    --cc=lienze@kylinos.cn \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=oe-lkp@lists.linux.dev \
    --cc=sj@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.