874c8f8382: kernel-selftests.landlock.audit_test.audit.thread.fail
kernel test robot
build botHello,
kernel test robot noticed "kernel-selftests.landlock.audit_test.audit.thread.fail" on:
commit: 874c8f83826c95c62c21d9edfe9ef43e5c346724 ("landlock: Fix LOG_SUBDOMAINS_OFF inheritance across fork()")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
[test failed on linus/master dca922e019dd758b4c1b4bec8f1d509efddeaab4]
[test failed on linux-next/master 9974969c14031a097d6b45bcb7a06bb4aa525c40]
in testcase: kernel-selftests
version: kernel-selftests-x86_64-9f2693489ef8-1_20260201 with following parameters:
group: landlock
config: x86_64-rhel-9.4-kselftests
compiler: gcc-14
test machine: 16 threads Intel(R) Core(TM) i7-13620H (Raptor 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 <[email protected]>
| Closes: https://lore.kernel.org/oe-lkp/[email protected]
# timeout set to 300 # selftests: landlock: audit_test # TAP version 13 # 1..12 # # Starting 12 tests from 10 test cases. # # RUN audit.log_subdomains_off_fork ... # # OK audit.log_subdomains_off_fork # ok 1 audit.log_subdomains_off_fork # # RUN audit.thread ... # # audit_test.c:252:thread:Expected 0 (0) == matches_log_signal(_metadata, self->audit_fd, child_data.parent_pid, &denial_dom) (-11) # # audit_test.c:254:thread:Expected denial_dom (1) != 1 (1) # # audit_test.c:257:thread:Expected 0 (0) == matches_log_domain_allocated(self->audit_fd, getpid(), &allocated_dom) (-11) # # audit_test.c:259:thread:Expected denial_dom (1) == allocated_dom (2) # DATA: audit(1777390809.810:10): domain=1a323af0a status=allocated mode=enforcing pid=2437 uid=0 exe="/opt/rootfs/tmp/kselftests/landlock/landlock/audit_test" comm="audit_test" # ERROR: no match for pattern: ^audit([0-9.:]\+): domain=\([0-9a-f]\+\) status=deallocated denials=1$ # # audit_test.c:275:thread:Expected 0 (0) == matches_log_domain_deallocated(self->audit_fd, 1, &deallocated_dom) (-2) # # audit_test.c:277:thread:Expected denial_dom (1) == deallocated_dom (0) # # thread: Test failed # # FAIL audit.thread # not ok 2 audit.thread
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260430/[email protected]
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Should be fixed with
https://lore.kernel.org/all/[email protected]/
Quoted 67 lines · kernel test robot
Hello,
kernel test robot noticed "kernel-selftests.landlock.audit_test.audit.thread.fail" on:
commit:
874c8f83826c95c62c21d9edfe9ef43e5c346724("landlock: FixLOG_SUBDOMAINS_OFFinheritance acrossfork()")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master[test failed on linus/master
dca922e019dd758b4c1b4bec8f1d509efddeaab4]
[test failed on linux-next/master9974969c14031a097d6b45bcb7a06bb4aa525c40]in testcase: kernel-selftests
version: kernel-selftests-x86_64-9f2693489ef8-1_20260201 with following parameters:group: landlock
config: x86_64-rhel-9.4-kselftests
compiler: gcc-14
test machine: 16 threads Intel(R) Core(TM) i7-13620H (Raptor 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 <[email protected]>
| Closes: https://lore.kernel.org/oe-lkp/[email protected]# timeout set to 300 # selftests: landlock: audit_test # TAP version 13 # 1..12 # # Starting 12 tests from 10 test cases. # # RUN audit.log_subdomains_off_fork ... # # OK audit.log_subdomains_off_fork # ok 1 audit.log_subdomains_off_fork # # RUN audit.thread ... # # audit_test.c:252:thread:Expected 0 (0) == matches_log_signal(_metadata, self->audit_fd, child_data.parent_pid, &denial_dom) (-11) # # audit_test.c:254:thread:Expected denial_dom (1) != 1 (1) # # audit_test.c:257:thread:Expected 0 (0) == matches_log_domain_allocated(self->audit_fd, getpid(), &allocated_dom) (-11) # # audit_test.c:259:thread:Expected denial_dom (1) == allocated_dom (2) # DATA: audit(1777390809.810:10): domain=1a323af0a status=allocated mode=enforcing pid=2437 uid=0 exe="/opt/rootfs/tmp/kselftests/landlock/landlock/audit_test" comm="audit_test" # ERROR: no match for pattern: ^audit([0-9.:]\+): domain=\([0-9a-f]\+\) status=deallocated denials=1$ # # audit_test.c:275:thread:Expected 0 (0) == matches_log_domain_deallocated(self->audit_fd, 1, &deallocated_dom) (-2) # # audit_test.c:277:thread:Expected denial_dom (1) == deallocated_dom (0) # # thread: Test failed # # FAIL audit.thread # not ok 2 audit.threadThe kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260430/[email protected]Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki