Re: [linus:master] [perf/x86/intel] 25dfc9e357: kvm-unit-tests-qemu.pmu.fail
From: Mi, Dapeng
Date: Sun Sep 22 2024 - 22:50:12 EST
On 9/20/2024 9:27 PM, Liang, Kan wrote:
>
> On 2024-09-20 3:50 a.m., kernel test robot wrote:
>>
>> Hello,
>>
>> kernel test robot noticed "kvm-unit-tests-qemu.pmu.fail" on:
>>
>> commit: 25dfc9e357af8aed1ca79b318a73f2c59c1f0b2b ("perf/x86/intel: Limit the period on Haswell")
> This should only impact the period wrote to a counter.
> There is no functional change.
>
> As far as I know, the kvm-unit-tests-qemu.pmu directly manipulates the
> counters. It should not be impacted by the perf changes. That's weird.
We found KUT/pmu test cases could cause many false positives, especially on
some new Platforms, like SPR/EMR. We already have a patch series to fix
these false positives, but unfortunately it's still not merged.
Here is the patch series link. Thanks.
https://lore.kernel.org/all/20240914101728.33148-1-dapeng1.mi@xxxxxxxxxxxxxxx/
>
>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
>>
>> [test failed on linus/master 3352633ce6b221d64bf40644d412d9670e7d56e3]
>> [test failed on linux-next/master 5acd9952f95fb4b7da6d09a3be39195a80845eb6]
>>
>> in testcase: kvm-unit-tests-qemu
>> version:
>> with following parameters:
>>
>>
>>
>>
>> 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@xxxxxxxxx>
>> | Closes: https://lore.kernel.org/oe-lkp/202409201525.4877023e-oliver.sang@xxxxxxxxx
>>
>>
>> ...
>> [32mPASS[0m msr (1836 tests)
>> [31mFAIL[0m pmu (143 tests, 24 unexpected failures, 14 skipped) <---
> Is there a list to show which checks are failed?
>
> Thanks,
> Kan
>
>> [32mPASS[0m pmu_lbr (3 tests)
>> [33mSKIP[0m pmu_pebs (1 tests, 1 skipped)
>> ...
>>
>>
>>
>> The kernel config and materials to reproduce are available at:
>> https://download.01.org/0day-ci/archive/20240920/202409201525.4877023e-oliver.sang@xxxxxxxxx
>>
>>
>>