From: kernel test robot <oliver.sang@intel.com>
To: Christian Brauner <brauner@kernel.org>
Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>,
<linux-kernel@vger.kernel.org>, Jeff Layton <jlayton@kernel.org>,
<oliver.sang@intel.com>
Subject: [linus:master] [selftests] d3238e8944: kernel-selftests.pidfd.make.fail
Date: Wed, 26 Feb 2025 15:15:04 +0800 [thread overview]
Message-ID: <202502261412.2a25ee21-lkp@intel.com> (raw)
Hello,
kernel test robot noticed "kernel-selftests.pidfd.make.fail" on:
commit: d3238e8944e2bd1d6a006d35850e86fa80469751 ("selftests: remove unneeded include")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: kernel-selftests
version: kernel-selftests-x86_64-7ff71e6d9239-1_20250215
with following parameters:
group: pidfd
config: x86_64-dcg_x86_64_defconfig-kselftests
compiler: gcc-12
test machine: 36 threads 1 sockets Intel(R) Core(TM) i9-10980XE CPU @ 3.00GHz (Cascade 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@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202502261412.2a25ee21-lkp@intel.com
KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-dcg_x86_64_defconfig-kselftests-d3238e8944e2bd1d6a006d35850e86fa80469751
2025-02-23 19:26:51 sed -i s/default_timeout=45/default_timeout=300/ kselftest/runner.sh
2025-02-23 19:26:51 make -j36 -C pidfd
make: Entering directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-d3238e8944e2bd1d6a006d35850e86fa80469751/tools/testing/selftests/pidfd'
CC pidfd_fdinfo_test
CC pidfd_test
CC pidfd_open_test
CC pidfd_poll_test
CC pidfd_wait
CC pidfd_setns_test
CC pidfd_getfd_test
pidfd_fdinfo_test.c: In function ‘child_fdinfo_nspid_test’:
pidfd_fdinfo_test.c:230:13: warning: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration]
230 | r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
| ^~~~~
pidfd_fdinfo_test.c:230:36: error: ‘MS_REC’ undeclared (first use in this function)
230 | r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
| ^~~~~~
pidfd_fdinfo_test.c:230:36: note: each undeclared identifier is reported only once for each function it appears in
pidfd_fdinfo_test.c:230:45: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
230 | r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
| ^~~~~~~~~~
| MAP_PRIVATE
pidfd_fdinfo_test.c:236:15: warning: implicit declaration of function ‘umount2’; did you mean ‘SYS_umount2’? [-Wimplicit-function-declaration]
236 | (void)umount2("/proc", MNT_DETACH);
| ^~~~~~~
| SYS_umount2
pidfd_fdinfo_test.c:236:32: error: ‘MNT_DETACH’ undeclared (first use in this function)
236 | (void)umount2("/proc", MNT_DETACH);
| ^~~~~~~~~~
make: *** [../lib.mk:222: /usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-d3238e8944e2bd1d6a006d35850e86fa80469751/tools/testing/selftests/pidfd/pidfd_fdinfo_test] Error 1
make: *** Waiting for unfinished jobs....
pidfd_setns_test.c: In function ‘current_nsset_setup’:
pidfd_setns_test.c:211:54: warning: implicit declaration of function ‘ioctl’ [-Wimplicit-function-declaration]
211 | self->child_pidfd_derived_nsfds[i] = ioctl(self->pidfd, info->pidfd_ioctl, 0);
| ^~~~~
make: Leaving directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-d3238e8944e2bd1d6a006d35850e86fa80469751/tools/testing/selftests/pidfd'
2025-02-23 19:26:51 make quicktest=1 run_tests -C pidfd
make: Entering directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-d3238e8944e2bd1d6a006d35850e86fa80469751/tools/testing/selftests/pidfd'
CC pidfd_fdinfo_test
pidfd_fdinfo_test.c: In function ‘child_fdinfo_nspid_test’:
pidfd_fdinfo_test.c:230:13: warning: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration]
230 | r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
| ^~~~~
pidfd_fdinfo_test.c:230:36: error: ‘MS_REC’ undeclared (first use in this function)
230 | r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
| ^~~~~~
pidfd_fdinfo_test.c:230:36: note: each undeclared identifier is reported only once for each function it appears in
pidfd_fdinfo_test.c:230:45: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
230 | r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
| ^~~~~~~~~~
| MAP_PRIVATE
pidfd_fdinfo_test.c:236:15: warning: implicit declaration of function ‘umount2’; did you mean ‘SYS_umount2’? [-Wimplicit-function-declaration]
236 | (void)umount2("/proc", MNT_DETACH);
| ^~~~~~~
| SYS_umount2
pidfd_fdinfo_test.c:236:32: error: ‘MNT_DETACH’ undeclared (first use in this function)
236 | (void)umount2("/proc", MNT_DETACH);
| ^~~~~~~~~~
make: *** [../lib.mk:222: /usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-d3238e8944e2bd1d6a006d35850e86fa80469751/tools/testing/selftests/pidfd/pidfd_fdinfo_test] Error 1
make: Leaving directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-d3238e8944e2bd1d6a006d35850e86fa80469751/tools/testing/selftests/pidfd'
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250226/202502261412.2a25ee21-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-02-26 7:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202502261412.2a25ee21-lkp@intel.com \
--to=oliver.sang@intel.com \
--cc=brauner@kernel.org \
--cc=jlayton@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=oe-lkp@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.