[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220523141434.GA17163@xsang-OptiPlex-9020>
Date: Mon, 23 May 2022 22:14:34 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, lkp@...ts.01.org, lkp@...el.com
Subject: [rseq] 3bb11f3f68: kernel-selftests.rseq.make_fail
Greeting,
FYI, we noticed the following commit (built with gcc-11):
commit: 3bb11f3f6872a692759f653f90d10674deb330a4 ("rseq: Remove broken uapi field layout on 32-bit little endian")
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
in testcase: kernel-selftests
version: kernel-selftests-x86_64-8d3977ef-1_20220520
with following parameters:
group: rseq
ucode: 0xec
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-6700 CPU @ 3.40GHz 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 <oliver.sang@...el.com>
KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f653f90d10674deb330a4
2022-05-21 14:37:09 ln -sf /usr/bin/clang
2022-05-21 14:37:09 ln -sf /usr/bin/llc
2022-05-21 14:37:09 sed -i s/default_timeout=45/default_timeout=300/ kselftest/runner.sh
2022-05-21 14:37:09 make -C rseq
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f653f90d10674deb330a4/tools/testing/selftests/rseq'
gcc -O2 -Wall -g -I./ -I../../../../usr/include/ -L/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f653f90d10674deb330a4/tools/testing/selftests/rseq -Wl,-rpath=./ -shared -fPIC rseq.c -lpthread -o /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f653f90d10674deb330a4/tools/testing/selftests/rseq/librseq.so
In file included from rseq.c:30:
rseq.h: In function ‘rseq_clear_rseq_cs’:
rseq.h:143:20: error: request for member ‘ptr’ in something not a structure or union
143 | __rseq_abi.rseq_cs.ptr = 0;
| ^
make: *** [Makefile:27: /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f653f90d10674deb330a4/tools/testing/selftests/rseq/librseq.so] Error 1
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f653f90d10674deb330a4/tools/testing/selftests/rseq'
2022-05-21 14:37:10 make run_tests -C rseq
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f653f90d10674deb330a4/tools/testing/selftests/rseq'
gcc -O2 -Wall -g -I./ -I../../../../usr/include/ -L/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f653f90d10674deb330a4/tools/testing/selftests/rseq -Wl,-rpath=./ -shared -fPIC rseq.c -lpthread -o /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f653f90d10674deb330a4/tools/testing/selftests/rseq/librseq.so
In file included from rseq.c:30:
rseq.h: In function ‘rseq_clear_rseq_cs’:
rseq.h:143:20: error: request for member ‘ptr’ in something not a structure or union
143 | __rseq_abi.rseq_cs.ptr = 0;
| ^
make: *** [Makefile:27: /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f653f90d10674deb330a4/tools/testing/selftests/rseq/librseq.so] Error 1
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f653f90d10674deb330a4/tools/testing/selftests/rseq'
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://01.org/lkp
View attachment "config-5.15.32-00250-g3bb11f3f6872" of type "text/plain" (163785 bytes)
View attachment "job-script" of type "text/plain" (6330 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (76 bytes)
View attachment "kernel-selftests" of type "text/plain" (2471 bytes)
View attachment "job.yaml" of type "text/plain" (5254 bytes)
View attachment "reproduce" of type "text/plain" (148 bytes)
Powered by blists - more mailing lists