[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202509301454.adc93851-lkp@intel.com>
Date: Tue, 30 Sep 2025 14:45:46 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Mark Brown <broonie@...nel.org>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>, Shuah Khan
<skhan@...uxfoundation.org>, Rick Edgecombe <rick.p.edgecombe@...el.com>,
<linux-kernel@...r.kernel.org>, <oliver.sang@...el.com>
Subject: [broonie-misc:arm64-gcs-exit-token] [selftests/clone3] 0b67d4b724:
kernel-selftests.clone3.clone3.fail
Hello,
kernel test robot noticed "kernel-selftests.clone3.clone3.fail" on:
commit: 0b67d4b724b4afed2690c21bef418b8a803c5be2 ("selftests/clone3: Test shadow stack support")
https://git.kernel.org/cgit/linux/kernel/git/broonie/misc.git arm64-gcs-exit-token
in testcase: kernel-selftests
version: kernel-selftests-x86_64-592a93fea16b-1_20250918
with following parameters:
group: clone3
config: x86_64-rhel-9.4-kselftests
compiler: gcc-14
test machine: 36 threads 1 sockets Intel(R) Core(TM) i9-9980XE CPU @ 3.00GHz (Skylake) 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/202509301454.adc93851-lkp@intel.com
# timeout set to 300
# selftests: clone3: clone3
# TAP version 13
# 1..24
# # clone3() syscall supported
# # map_shadow_stack() not supported
# # Running test 'simple clone3()'
# # [2448] Trying clone3() with flags 0 (size 0)
# # I am the parent (2448). My child's pid is 2449
# # I am the child, my PID is 2449
# # [2448] clone3() with flags says: 0 expected 0
# ok 1 simple clone3()
# # Running test 'clone3() in a new PID_NS'
# # [2448] Trying clone3() with flags 0x20000000 (size 0)
# # I am the parent (2448). My child's pid is 2450
# # I am the child, my PID is 1
# # [2448] clone3() with flags says: 0 expected 0
# ok 2 clone3() in a new PID_NS
# # Running test 'CLONE_ARGS_SIZE_VER0'
# # [2448] Trying clone3() with flags 0 (size 64)
# # I am the parent (2448). My child's pid is 2451
# # I am the child, my PID is 2451
# # [2448] clone3() with flags says: 0 expected 0
# ok 3 CLONE_ARGS_SIZE_VER0
# # Running test 'CLONE_ARGS_SIZE_VER0 - 8'
# # [2448] Trying clone3() with flags 0 (size 56)
# # Invalid argument - Failed to create new process
# # [2448] clone3() with flags says: -22 expected -22
# ok 4 CLONE_ARGS_SIZE_VER0 - 8
# # Running test 'sizeof(struct clone_args) + 8'
# # [2448] Trying clone3() with flags 0 (size 104)
# # I am the parent (2448). My child's pid is 2452
# # I am the child, my PID is 2452
# # [2448] clone3() with flags says: 0 expected 0
# ok 5 sizeof(struct clone_args) + 8
# # Running test 'exit_signal with highest 32 bits non-zero'
# # [2448] Trying clone3() with flags 0 (size 0)
# # Invalid argument - Failed to create new process
# # [2448] clone3() with flags says: -22 expected -22
# ok 6 exit_signal with highest 32 bits non-zero
# # Running test 'negative 32-bit exit_signal'
# # [2448] Trying clone3() with flags 0 (size 0)
# # Invalid argument - Failed to create new process
# # [2448] clone3() with flags says: -22 expected -22
# ok 7 negative 32-bit exit_signal
# # Running test 'exit_signal not fitting into CSIGNAL mask'
# # [2448] Trying clone3() with flags 0 (size 0)
# # Invalid argument - Failed to create new process
# # [2448] clone3() with flags says: -22 expected -22
# ok 8 exit_signal not fitting into CSIGNAL mask
# # Running test 'NSIG < exit_signal < CSIG'
# # [2448] Trying clone3() with flags 0 (size 0)
# # Invalid argument - Failed to create new process
# # [2448] clone3() with flags says: -22 expected -22
# ok 9 NSIG < exit_signal < CSIG
# # Running test 'Arguments sizeof(struct clone_args) + 8'
# # [2448] Trying clone3() with flags 0 (size 104)
# # I am the parent (2448). My child's pid is 2453
# # I am the child, my PID is 2453
# # [2448] clone3() with flags says: 0 expected 0
# ok 10 Arguments sizeof(struct clone_args) + 8
# # Running test 'Arguments sizeof(struct clone_args) + 16'
# # [2448] Trying clone3() with flags 0 (size 112)
# # Argument list too long - Failed to create new process
# # [2448] clone3() with flags says: -7 expected -7
# ok 11 Arguments sizeof(struct clone_args) + 16
# # Running test 'Arguments sizeof(struct clone_arg) * 2'
# # [2448] Trying clone3() with flags 0 (size 112)
# # Argument list too long - Failed to create new process
# # [2448] clone3() with flags says: -7 expected -7
# ok 12 Arguments sizeof(struct clone_arg) * 2
# # Running test 'Arguments > page size'
# # [2448] Trying clone3() with flags 0 (size 4104)
# # Argument list too long - Failed to create new process
# # [2448] clone3() with flags says: -7 expected -7
# ok 13 Arguments > page size
# # Running test 'CLONE_ARGS_SIZE_VER0 in a new PID NS'
# # [2448] Trying clone3() with flags 0x20000000 (size 64)
# # I am the parent (2448). My child's pid is 2454
# # I am the child, my PID is 1
# # [2448] clone3() with flags says: 0 expected 0
# ok 14 CLONE_ARGS_SIZE_VER0 in a new PID NS
# # Running test 'CLONE_ARGS_SIZE_VER0 - 8 in a new PID NS'
# # [2448] Trying clone3() with flags 0x20000000 (size 56)
# # Invalid argument - Failed to create new process
# # [2448] clone3() with flags says: -22 expected -22
# ok 15 CLONE_ARGS_SIZE_VER0 - 8 in a new PID NS
# # Running test 'sizeof(struct clone_args) + 8 in a new PID NS'
# # [2448] Trying clone3() with flags 0x20000000 (size 104)
# # I am the parent (2448). My child's pid is 2455
# # I am the child, my PID is 1
# # [2448] clone3() with flags says: 0 expected 0
# ok 16 sizeof(struct clone_args) + 8 in a new PID NS
# # Running test 'Arguments > page size in a new PID NS'
# # [2448] Trying clone3() with flags 0x20000000 (size 4104)
# # Argument list too long - Failed to create new process
# # [2448] clone3() with flags says: -7 expected -7
# ok 17 Arguments > page size in a new PID NS
# # Running test 'New time NS'
# # [2448] Trying clone3() with flags 0x80 (size 0)
# # I am the parent (2448). My child's pid is 2456
# # I am the child, my PID is 2456
# # [2448] clone3() with flags says: 0 expected 0
# ok 18 New time NS
# # Running test 'exit signal (SIGCHLD) in flags'
# # [2448] Trying clone3() with flags 0x11 (size 0)
# # Invalid argument - Failed to create new process
# # [2448] clone3() with flags says: -22 expected -22
# ok 19 exit signal (SIGCHLD) in flags
# # Shadow stack not supported
# ok 20 # SKIP Shadow stack on system with shadow stack
# # Shadow stack not supported
# ok 21 # SKIP Shadow stack with misaligned address
# # Shadow stack not supported
# ok 22 # SKIP Shadow stack with normal memory
# # Shadow stack not supported
# ok 23 # SKIP Shadow stack with no token
# # Running test 'Shadow stack on system without shadow stack'
# # [2448] Trying clone3() with flags 0x100 (size 0)
# # Invalid argument - Failed to create new process
# # [2448] clone3() with flags says: -22 expected -14
# # [2448] Result (-22) is different than expected (-14)
# not ok 24 Shadow stack on system without shadow stack
# # 4 skipped test(s) detected. Consider enabling relevant config options to improve coverage.
# # Totals: pass:19 fail:1 xfail:0 xpass:0 skip:4 error:0
not ok 1 selftests: clone3: clone3 # exit=1
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250930/202509301454.adc93851-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists