[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202601161607.7b263d0f-lkp@intel.com>
Date: Fri, 16 Jan 2026 16:38:38 +0800
From: kernel test robot <oliver.sang@...el.com>
To: dongwanqiang <dongwanqiang2021@...il.com>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>, <sched-ext@...ts.linux.dev>,
<aubrey.li@...ux.intel.com>, <yu.c.chen@...el.com>, <tj@...nel.org>,
<arighi@...dia.com>, <changwoo@...lia.com>, <linux-kernel@...r.kernel.org>,
dongwanqiang <dongwanqiang2021@...il.com>, <oliver.sang@...el.com>
Subject: Re: [PATCH v1] sched_ext: Add comprehensive selftests
hi, dongwanqiang,
we apply this patch upon 86063a2568b8f2 like below:
* c3c5a73eb6ed69 (linux-review/dongwanqiang/sched_ext-Add-comprehensive-selftests/20260113-164727) sched_ext: Add comprehensive selftests
* 86063a2568b8f2 (shuah-kselftest/next) selftests/resctrl: Fix non-contiguous CBM check for Hygon
if we should pick another base or the patch depends on other patches, please
kindly let us know. thanks
below is just FYI.
Hello,
kernel test robot noticed "kernel-selftests-bpf.sched_ext.make.fail" on:
commit: c3c5a73eb6ed699262df440942d88f23cc9f10e9 ("[PATCH v1] sched_ext: Add comprehensive selftests")
url: https://github.com/intel-lab-lkp/linux/commits/dongwanqiang/sched_ext-Add-comprehensive-selftests/20260113-164727
base: https://git.kernel.org/cgit/linux/kernel/git/shuah/linux-kselftest.git next
patch link: https://lore.kernel.org/all/20260113083231.1650001-1-dongwanqiang2021@gmail.com/
patch subject: [PATCH v1] sched_ext: Add comprehensive selftests
in testcase: kernel-selftests-bpf
version:
with following parameters:
group: sched_ext
config: x86_64-rhel-9.4-bpf
compiler: gcc-14
test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (Kaby Lake) with 32G 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@...el.com>
| Closes: https://lore.kernel.org/oe-lkp/202601161607.7b263d0f-lkp@intel.com
CLNG-BPF ddsp_bogus_dsq_fail.bpf.o
/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-c3c5a73eb6ed699262df440942d88f23cc9f10e9/tools/testing/selftests/sched_ext/build/include/vmlinux.h:89012:2: warning: declaration does not declare anything [-Wmissing-declarations]
89012 | struct freelist_tid;
| ^~~~~~~~~~~~~~~~~~~
concurrent_pressure.bpf.c:104:24: error: use of undeclared identifier 'nr_cpu_ids'
104 | if (cpu < 0 || cpu >= nr_cpu_ids) {
| ^
concurrent_pressure.bpf.c:164:3: error: call to undeclared function 'scx_bpf_print'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
164 | scx_bpf_print("Pressure test completed: %llu total operations\n",
| ^
concurrent_pressure.bpf.c:164:3: note: did you mean 'scx_bpf_events'?
/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-c3c5a73eb6ed699262df440942d88f23cc9f10e9/tools/sched_ext/include/scx/common.bpf.h:103:6: note: 'scx_bpf_events' declared here
103 | void scx_bpf_events(struct scx_event_stats *events, size_t events__sz) __ksym __weak;
| ^
/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-c3c5a73eb6ed699262df440942d88f23cc9f10e9/tools/testing/selftests/sched_ext/build/include/vmlinux.h:108246:2: warning: declaration does not declare anything [-Wmissing-declarations]
108246 | union pipe_index;
| ^~~~~~~~~~~~~~~~
4 warnings and 2 errors generated.
/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-c3c5a73eb6ed699262df440942d88f23cc9f10e9/tools/testing/selftests/sched_ext/build/include/vmlinux.h:120240:4: warning: declaration does not declare anything [-Wmissing-declarations]
120240 | struct freelist_counters;
| ^~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:136: /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-c3c5a73eb6ed699262df440942d88f23cc9f10e9/tools/testing/selftests/sched_ext/build/obj/sched_ext/concurrent_pressure.bpf.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ddsp_bogus_dsq_fail.bpf.c:7:
In file included from /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-c3c5a73eb6ed699262df440942d88f23cc9f10e9/tools/sched_ext/include/scx/common.bpf.h:21:
/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-c3c5a73eb6ed699262df440942d88f23cc9f10e9/tools/testing/selftests/sched_ext/build/include/vmlinux.h:52185:3: warning: declaration does not declare anything [-Wmissing-declarations]
52185 | struct ns_tree;
| ^~~~~~~~~~~~~~
4 warnings generated.
/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-c3c5a73eb6ed699262df440942d88f23cc9f10e9/tools/testing/selftests/sched_ext/build/include/vmlinux.h:89012:2: warning: declaration does not declare anything [-Wmissing-declarations]
89012 | struct freelist_tid;
| ^~~~~~~~~~~~~~~~~~~
/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-c3c5a73eb6ed699262df440942d88f23cc9f10e9/tools/testing/selftests/sched_ext/build/include/vmlinux.h:108246:2: warning: declaration does not declare anything [-Wmissing-declarations]
108246 | union pipe_index;
| ^~~~~~~~~~~~~~~~
/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-c3c5a73eb6ed699262df440942d88f23cc9f10e9/tools/testing/selftests/sched_ext/build/include/vmlinux.h:120240:4: warning: declaration does not declare anything [-Wmissing-declarations]
120240 | struct freelist_counters;
| ^~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-c3c5a73eb6ed699262df440942d88f23cc9f10e9/tools/testing/selftests/sched_ext'
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260116/202601161607.7b263d0f-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists