[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202305282101.a1fb6386-oliver.sang@intel.com>
Date: Sun, 28 May 2023 22:04:57 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>,
<linux-kernel@...r.kernel.org>, <xudong.hao@...el.com>,
Peter Zijlstra <peterz@...radead.org>,
"Thomas Gleixner" <tglx@...utronix.de>,
"Paul E . McKenney" <paulmck@...nel.org>,
Boqun Feng <boqun.feng@...il.com>,
"H . Peter Anvin" <hpa@...or.com>, "Paul Turner" <pjt@...gle.com>,
<linux-api@...r.kernel.org>,
Christian Brauner <brauner@...nel.org>,
Florian Weimer <fw@...eb.enyo.de>, <David.Laight@...lab.com>,
<carlos@...hat.com>, Peter Oskolkov <posk@...k.io>,
Alexander Mikhalitsyn <alexander@...alicyn.com>,
"Chris Kennelly" <ckennelly@...gle.com>,
Ingo Molnar <mingo@...hat.com>,
Darren Hart <dvhart@...radead.org>,
Davidlohr Bueso <dave@...olabs.net>,
André Almeida <andrealmeid@...lia.com>,
<libc-alpha@...rceware.org>, Steven Rostedt <rostedt@...dmis.org>,
"Jonathan Corbet" <corbet@....net>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
<oliver.sang@...el.com>
Subject: Re: [RFC PATCH 2/4] selftests/rseq: Add sched_state rseq field and
getter
Hello,
kernel test robot noticed "kernel-selftests.kvm.make.fail" on:
commit: 1f70aced56e5ae7bcdaba5f55ff62e610c105089 ("[RFC PATCH 2/4] selftests/rseq: Add sched_state rseq field and getter")
url: https://github.com/intel-lab-lkp/linux/commits/Mathieu-Desnoyers/rseq-Add-sched_state-field-to-struct-rseq/20230517-233229
base: https://git.kernel.org/cgit/linux/kernel/git/shuah/linux-kselftest.git next
patch link: https://lore.kernel.org/all/20230517152654.7193-3-mathieu.desnoyers@efficios.com/
patch subject: [RFC PATCH 2/4] selftests/rseq: Add sched_state rseq field and getter
in testcase: kernel-selftests
version: kernel-selftests-x86_64-60acb023-1_20230329
with following parameters:
group: kvm
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
compiler: gcc-11
test machine: 224 threads 2 sockets Intel(R) Xeon(R) Platinum 8480+ (Sapphire Rapids) with 256G memory
(please refer to attached dmesg/kmsg for entire log/backtrace)
If you fix the issue, kindly add following tag
| Reported-by: kernel test robot <oliver.sang@...el.com>
| Closes: https://lore.kernel.org/oe-lkp/202305282101.a1fb6386-oliver.sang@intel.com
In file included from ../rseq/rseq.h:20,
from ../rseq/rseq.c:35,
from rseq_test.c:23:
../rseq/rseq-abi.h:40:6: error: redeclaration of ‘enum rseq_sched_state’
40 | enum rseq_sched_state {
| ^~~~~~~~~~~~~~~~
In file included from rseq_test.c:16:
/usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/usr/include/linux/rseq.h:40:6: note: originally defined here
40 | enum rseq_sched_state {
| ^~~~~~~~~~~~~~~~
../rseq/rseq-abi.h:44:9: error: redeclaration of enumerator ‘RSEQ_SCHED_STATE_ON_CPU’
44 | RSEQ_SCHED_STATE_ON_CPU = (1U << 0),
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/usr/include/linux/rseq.h:44:9: note: previous definition of ‘RSEQ_SCHED_STATE_ON_CPU’ with type ‘enum rseq_sched_state’
44 | RSEQ_SCHED_STATE_ON_CPU = (1U << 0),
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-gnu-variable-sized-type-not-at-end’ may have been intended to silence earlier diagnostics
make: *** [../lib.mk:147: /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/rseq_test] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm'
2023-05-27 01:58:33 make quicktest=1 run_tests -C kvm
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm'
gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -Wno-gnu-variable-sized-type-not-at-end -fno-builtin-memcmp -fno-builtin-memcpy -fno-builtin-memset -fno-stack-protector -fno-PIE -I/usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/../../../tools/include -I/usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/../../../tools/arch/x86/include -I/usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/../../../usr/include/ -Iinclude -I. -Iinclude/x86_64 -I ../rseq -I.. -isystem /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/../../../usr/include -pthread -no-pie rseq_test.c /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/assert.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/elf.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/guest_modes.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/io.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/kvm_util.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/memstress.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/rbtree.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/sparsebit.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/test_util.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/ucall_common.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/userfaultfd_util.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/x86_64/apic.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/x86_64/hyperv.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/x86_64/memstress.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/x86_64/processor.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/x86_64/svm.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/x86_64/ucall.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/x86_64/vmx.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/x86_64/handlers.o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/lib/string_override.o -ldl -o /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/rseq_test
In file included from ../rseq/rseq.h:20,
from ../rseq/rseq.c:35,
from rseq_test.c:23:
../rseq/rseq-abi.h:40:6: error: redeclaration of ‘enum rseq_sched_state’
40 | enum rseq_sched_state {
| ^~~~~~~~~~~~~~~~
In file included from rseq_test.c:16:
/usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/usr/include/linux/rseq.h:40:6: note: originally defined here
40 | enum rseq_sched_state {
| ^~~~~~~~~~~~~~~~
../rseq/rseq-abi.h:44:9: error: redeclaration of enumerator ‘RSEQ_SCHED_STATE_ON_CPU’
44 | RSEQ_SCHED_STATE_ON_CPU = (1U << 0),
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/usr/include/linux/rseq.h:44:9: note: previous definition of ‘RSEQ_SCHED_STATE_ON_CPU’ with type ‘enum rseq_sched_state’
44 | RSEQ_SCHED_STATE_ON_CPU = (1U << 0),
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-gnu-variable-sized-type-not-at-end’ may have been intended to silence earlier diagnostics
make: *** [../lib.mk:147: /usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm/rseq_test] Error 1
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kvm-1f70aced56e5ae7bcdaba5f55ff62e610c105089/tools/testing/selftests/kvm'
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/wiki
View attachment "config-6.4.0-rc1-00006-g1f70aced56e5" of type "text/plain" (157618 bytes)
View attachment "job-script" of type "text/plain" (5944 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (58296 bytes)
View attachment "kernel-selftests" of type "text/plain" (278436 bytes)
View attachment "job.yaml" of type "text/plain" (4971 bytes)
View attachment "reproduce" of type "text/plain" (242 bytes)
Powered by blists - more mailing lists