lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202307201541.b69a1160-oliver.sang@intel.com>
Date:   Thu, 20 Jul 2023 15:18:17 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Brian Gerst <brgerst@...il.com>
CC:     <oe-lkp@...ts.linux.dev>, <lkp@...el.com>,
        <linux-kernel@...r.kernel.org>,
        Peter Zijlstra <peterz@...radead.org>,
        Kees Cook <keescook@...omium.org>,
        Sami Tolvanen <samitolvanen@...gle.com>,
        <oliver.sang@...el.com>
Subject: [linus:master] [x86]  3aec4ecb3d:
 kernel-selftests.livepatch.test-livepatch.sh.fail



Hello,

kernel test robot noticed "kernel-selftests.livepatch.test-livepatch.sh.fail" on:

commit: 3aec4ecb3d1f313a8ab985df7cab07c4af81f478 ("x86: Rewrite ret_from_fork() in C")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

[test failed on linus/master ccff6d117d8dc8d8d86e8695a75e5f8b01e573bf]
[test failed on linux-next/master 352ce39a8bbaec0405793682be59fae120fc6b05]

there are also below failures which we didn't observe on parent:

81f755d561f365f5 3aec4ecb3d1f313a8ab985df7ca
---------------- ---------------------------
       fail:runs  %reproduction    fail:runs
           |             |             |
           :6          100%           6:6     kernel-selftests.livepatch.test-callbacks.sh.fail
           :6          100%           6:6     kernel-selftests.livepatch.test-livepatch.sh.fail
           :6          100%           6:6     kernel-selftests.livepatch.test-state.sh.fail
           :6          100%           6:6     kernel-selftests.livepatch.test-sysfs.sh.fail


in testcase: kernel-selftests
version: kernel-selftests-x86_64-60acb023-1_20230329
with following parameters:

	group: livepatch



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@...el.com>
| Closes: https://lore.kernel.org/oe-lkp/202307201541.b69a1160-oliver.sang@intel.com

KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-8.3-kselftests-3aec4ecb3d1f313a8ab985df7cab07c4af81f478
2023-07-18 20:14:46 ln -sf /usr/bin/clang
2023-07-18 20:14:47 ln -sf /usr/sbin/iptables-nft /usr/bin/iptables
2023-07-18 20:14:47 ln -sf /usr/sbin/ip6tables-nft /usr/bin/ip6tables
2023-07-18 20:14:47 sed -i s/default_timeout=45/default_timeout=300/ kselftest/runner.sh
2023-07-18 20:14:47 make -j36 -C livepatch
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3aec4ecb3d1f313a8ab985df7cab07c4af81f478/tools/testing/selftests/livepatch'
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3aec4ecb3d1f313a8ab985df7cab07c4af81f478/tools/testing/selftests/livepatch'
2023-07-18 20:14:48 make quicktest=1 run_tests -C livepatch
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3aec4ecb3d1f313a8ab985df7cab07c4af81f478/tools/testing/selftests/livepatch'
TAP version 13
1..6
# timeout set to 0
# selftests: livepatch: test-livepatch.sh
# TEST: basic function patching ... ERROR: failed to complete transition
not ok 1 selftests: livepatch: test-livepatch.sh # exit=1
# timeout set to 0
# selftests: livepatch: test-callbacks.sh
# TEST: target module before livepatch ... ERROR: modprobe: ERROR: could not insert 'test_klp_callbacks_demo': Device or resource busy
not ok 2 selftests: livepatch: test-callbacks.sh # exit=1
# timeout set to 0
# selftests: livepatch: test-shadow-vars.sh
# TEST: basic shadow variable API ... ok
ok 3 selftests: livepatch: test-shadow-vars.sh
# timeout set to 0
# selftests: livepatch: test-state.sh
# TEST: system state modification ... ERROR: modprobe: ERROR: could not insert 'test_klp_state': Device or resource busy
not ok 4 selftests: livepatch: test-state.sh # exit=1
# timeout set to 0
# selftests: livepatch: test-ftrace.sh
# TEST: livepatch interaction with ftrace_enabled sysctl ... SKIP: failed to set kernel.ftrace_enabled = 0
ok 5 selftests: livepatch: test-ftrace.sh # SKIP
# timeout set to 0
# selftests: livepatch: test-sysfs.sh
# TEST: sysfs test ... ERROR: failed to complete transition
not ok 6 selftests: livepatch: test-sysfs.sh # exit=1
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3aec4ecb3d1f313a8ab985df7cab07c4af81f478/tools/testing/selftests/livepatch'



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://github.com/intel/lkp-tests/wiki



View attachment "config-6.5.0-rc1-00005-g3aec4ecb3d1f" of type "text/plain" (164037 bytes)

View attachment "job-script" of type "text/plain" (5729 bytes)

Download attachment "kmsg.xz" of type "application/x-xz" (27344 bytes)

View attachment "kernel-selftests" of type "text/plain" (2346 bytes)

View attachment "job.yaml" of type "text/plain" (5162 bytes)

View attachment "reproduce" of type "text/plain" (253 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ