[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201004132631.GR393@shao2-debian>
Date: Sun, 4 Oct 2020 21:26:31 +0800
From: kernel test robot <rong.a.chen@...el.com>
To: Peter Xu <peterx@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Andrew Jones <drjones@...hat.com>,
Sean Christopherson <sean.j.christopherson@...el.com>,
Paolo Bonzini <pbonzini@...hat.com>,
"Dr . David Alan Gilbert" <dgilbert@...hat.com>, peterx@...hat.com,
0day robot <lkp@...el.com>, lkp@...ts.01.org
Subject: [KVM] 11e2633982: kernel-selftests.kvm.dirty_log_test.fail
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 11e2633982d4ab0bbacbfe8d96487bffc566da75 ("[PATCH v12 12/13] KVM: selftests: Let dirty_log_test async for dirty ring test")
url: https://github.com/0day-ci/linux/commits/Peter-Xu/KVM-Dirty-ring-interface/20201001-055652
base: https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git e9542fdb89751d93026a48a5fba66facc22df6fd
in testcase: kernel-selftests
version: kernel-selftests-x86_64-e8e8f16e-1_20200807
with following parameters:
group: kselftests-kvm
ucode: 0xdc
test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel.
test-url: https://www.kernel.org/doc/Documentation/kselftest.txt
on test machine: 8 threads Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz with 32G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen@...el.com>
# selftests: kvm: dirty_log_test
# Test iterations: 32, interval: 10 (ms)
# Testing Log Mode 'dirty-log'
# Testing guest mode: PA-bits:ANY, VA-bits:48, 4K pages
# guest physical test memory offset: 0x7fbfffc000
# Dirtied 1024 pages
# Total bits checked: dirty (65453), clear (8061104), track_next (3245)
# Testing Log Mode 'clear-log'
# Testing guest mode: PA-bits:ANY, VA-bits:48, 4K pages
# guest physical test memory offset: 0x7fbfffc000
# Dirtied 1024 pages
# Total bits checked: dirty (326519), clear (7800038), track_next (3259)
# Testing Log Mode 'dirty-ring'
# Testing guest mode: PA-bits:ANY, VA-bits:48, 4K pages
# guest physical test memory offset: 0x7fbfffc000
# vcpu stops because vcpu is kicked out...
# Notifying vcpu to continue
# vcpu continues now.
# fetch 0x0 page 0
# fetch 0x1 page 1
...
# fetch 0x1fff3 page 13105==== Test Assertion Failure ====
# dirty_log_test.c:526: test_bit_le(page, bmap)
# pid=10583 tid=10583 - Invalid argument
# 1 0x0000000000403294: vm_dirty_log_verify at dirty_log_test.c:523
# 2 (inlined by) run_test at dirty_log_test.c:743
# 3 0x00000000004026f4: main at dirty_log_test.c:905 (discriminator 3)
# 4 0x00007f2d11a2809a: ?? ??:0
# 5 0x0000000000402809: _start at ??:?
# Page 131151 should have its dirty bit set in this iteration but it is missing
# 8
...
# fetch 0x20050 page 131151
# Iteration 4 collected 64960 pages
# Notifying vcpu to continue
# Iteration 5 collected 0 pages
# vcpu continues now.
# vcpu stops because vcpu is kicked out...
not ok 19 selftests: kvm: dirty_log_test # exit=254
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Rong Chen
View attachment "config-5.9.0-rc7-00524-g11e2633982d4ab" of type "text/plain" (209899 bytes)
View attachment "job-script" of type "text/plain" (6050 bytes)
Download attachment "kmsg.xz" of type "application/x-xz" (33084 bytes)
View attachment "job.yaml" of type "text/plain" (5017 bytes)
View attachment "reproduce" of type "text/plain" (165 bytes)
Download attachment "kernel-selftests.xz" of type "application/x-xz" (127636 bytes)
Powered by blists - more mailing lists