On 10/13/2022 9:38 PM, Shuah Khan wrote:
On 10/13/22 12:00, David Hildenbrand wrote:
When did that test start failing? Was it still ok for 6.0?
Didn't test yet, will try, in case it's my system/config specific thing.
So it's actually all the same with v6.0 for me. The infinite loops, the test failures, the misreported SKIPs.
I am not seeing infinite loops and seeing 25 failures which could be skips.
Is the kernel compiled with support. I have the feeling that we might simply miss kernel support and it's not handled gracefully ...
Here is my config CONFIG_HMM_MIRROR=y # CONFIG_TEST_HMM is not set
Okay here is what is going on - hmm_tests are supposed to be run from test_hmm.sh script. When I run this I see a message that tells me what to do.
sudo ./test_hmm.sh ./test_hmm.sh: You must have the following enabled in your kernel: CONFIG_TEST_HMM=m
Running ./hmm_tests gives me all the failures. So it appears running hmm_tests executable won't work. This is expected as test_hmm.sh does the right setup before running the test. We have several tests that do that.
Vlastimil, can you try this and let me know what you see. I will compile with CONFIG_TEST_HMM=m and let you know what I see on my system.
Right, I didn't mention it, sorry. I did have CONFIG_TEST_HMM=m and was running "test_hmm.sh smoke"
thanks, -- Shuah