2023-01-04 02:13:31

by kernel test robot

[permalink] [raw]
Subject: [tip:sched/core] [selftests/rseq] b344b8f2d8: kernel-selftests.rseq.run_param_test.sh.fail


Greeting,

FYI, we noticed kernel-selftests.rseq.run_param_test.sh.fail due to commit (built with gcc-11):

commit: b344b8f2d88dbf095caf97ac57fd3645843fa70f ("selftests/rseq: Add mm_numa_cid to test script")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git sched/core

in testcase: kernel-selftests
version: kernel-selftests-x86_64-2ed09c3b-1_20221128
with following parameters:

group: rseq

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: 4 threads Intel(R) Xeon(R) CPU E3-1225 v5 @ 3.30GHz (Skylake) with 16G 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 <[email protected]>
| Link: https://lore.kernel.org/oe-lkp/[email protected]


# selftests: rseq: run_param_test.sh
# Default parameters
# Running test spinlock
# Running compare-twice test spinlock
# Running mm_cid test spinlock
# Running mm_cid compare-twice test spinlock
# Running mm_numa_cid test spinlock
# ./run_param_test.sh: line 52: ./param_test_mm_numa_cid: No such file or directory
not ok 10 selftests: rseq: run_param_test.sh # exit=1



To reproduce:

git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file

# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.



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



Attachments:
(No filename) (1.94 kB)
config-6.2.0-rc1-00024-gb344b8f2d88d (174.54 kB)
job-script (6.42 kB)
dmesg.xz (41.82 kB)
kernel-selftests (6.10 kB)
job.yaml (5.42 kB)
reproduce (243.00 B)
Download all attachments
Subject: [tip: sched/core] selftests/rseq: Revert "selftests/rseq: Add mm_numa_cid to test script"

The following commit has been merged into the sched/core branch of tip:

Commit-ID: c91b0bf3e590a2dd0f2af4bb048abc0542eabf2e
Gitweb: https://git.kernel.org/tip/c91b0bf3e590a2dd0f2af4bb048abc0542eabf2e
Author: Mathieu Desnoyers <[email protected]>
AuthorDate: Wed, 04 Jan 2023 11:35:42 -05:00
Committer: Peter Zijlstra <[email protected]>
CommitterDate: Thu, 12 Jan 2023 11:22:22 +01:00

selftests/rseq: Revert "selftests/rseq: Add mm_numa_cid to test script"

The mm_numa_cid related rseq patches from the series were not picked up
into the tip tree, so enabling the mm_numa_cid test needs to be
reverted.

This reverts commit b344b8f2d88dbf095caf97ac57fd3645843fa70f.

Reported-by: kernel test robot <[email protected]>
Signed-off-by: Mathieu Desnoyers <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/oe-lkp/[email protected]
---
tools/testing/selftests/rseq/run_param_test.sh | 5 -----
1 file changed, 5 deletions(-)

diff --git a/tools/testing/selftests/rseq/run_param_test.sh b/tools/testing/selftests/rseq/run_param_test.sh
index 603b3b6..8d31426 100755
--- a/tools/testing/selftests/rseq/run_param_test.sh
+++ b/tools/testing/selftests/rseq/run_param_test.sh
@@ -47,11 +47,6 @@ function do_tests()
./param_test_mm_cid ${TEST_LIST[$i]} -r ${REPS} -t ${NR_THREADS} ${@} ${EXTRA_ARGS} || exit 1
echo "Running mm_cid compare-twice test ${TEST_NAME[$i]}"
./param_test_mm_cid_compare_twice ${TEST_LIST[$i]} -r ${REPS} -t ${NR_THREADS} ${@} ${EXTRA_ARGS} || exit 1
-
- echo "Running mm_numa_cid test ${TEST_NAME[$i]}"
- ./param_test_mm_numa_cid ${TEST_LIST[$i]} -r ${REPS} -t ${NR_THREADS} ${@} ${EXTRA_ARGS} || exit 1
- echo "Running mm_numa_cid compare-twice test ${TEST_NAME[$i]}"
- ./param_test_mm_numa_cid_compare_twice ${TEST_LIST[$i]} -r ${REPS} -t ${NR_THREADS} ${@} ${EXTRA_ARGS} || exit 1
let "i++"
done
}