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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202210052100.86dbb00a-yujie.liu@intel.com>
Date:   Wed, 5 Oct 2022 21:58:46 +0800
From:   kernel test robot <yujie.liu@...el.com>
To:     Alexey Gladkov <legion@...nel.org>
CC:     <lkp@...ts.01.org>, <lkp@...el.com>,
        "Eric W. Biederman" <ebiederm@...ssion.com>,
        Linux Memory Management List <linux-mm@...ck.org>,
        <linux-kernel@...r.kernel.org>
Subject: [sysctl] 7608b6a72e: kernel-selftests.mqueue.mq_open_tests.fail

Greeting,

FYI, we noticed the following commit (built with gcc-11):

commit: 7608b6a72ed04607cc832248cbd52fb5e68bd42c ("sysctl: Allow to change limits for posix messages queues")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: kernel-selftests
version: kernel-selftests-x86_64-700a8991-1_20220823
with following parameters:

	group: group-02

test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel.
test-url: https://www.kernel.org/doc/Documentation/kselftest.txt

on test machine: 4 threads Intel(R) Xeon(R) CPU E3-1225 v5 @ 3.30GHz (Skylake) with 16G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


2022-10-04 04:47:26 make -C mqueue
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-7608b6a72ed04607cc832248cbd52fb5e68bd42c/tools/testing/selftests/mqueue'
gcc -O2    mq_open_tests.c -lrt -lpthread -lpopt -o /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-7608b6a72ed04607cc832248cbd52fb5e68bd42c/tools/testing/selftests/mqueue/mq_open_tests
gcc -O2    mq_perf_tests.c -lrt -lpthread -lpopt -o /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-7608b6a72ed04607cc832248cbd52fb5e68bd42c/tools/testing/selftests/mqueue/mq_perf_tests
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-7608b6a72ed04607cc832248cbd52fb5e68bd42c/tools/testing/selftests/mqueue'
2022-10-04 04:47:27 make quicktest=1 run_tests -C mqueue
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-7608b6a72ed04607cc832248cbd52fb5e68bd42c/tools/testing/selftests/mqueue'
TAP version 13
1..2
# selftests: mqueue: mq_open_tests
# Using Default queue path - /test1
# ./mq_open_tests: Failed to open msg_max at 279: No such file or directory
not ok 1 selftests: mqueue: mq_open_tests # exit=2
# selftests: mqueue: mq_perf_tests
# ./mq_perf_tests: Failed to open msg_max at 643: Permission denied
not ok 2 selftests: mqueue: mq_perf_tests # exit=2


If you fix the issue, kindly add following tag
| Reported-by: kernel test robot <yujie.liu@...el.com>
| Link: https://lore.kernel.org/r/202210052100.86dbb00a-yujie.liu@intel.com


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://01.org/lkp

View attachment "config-6.0.0-rc7-00003-g7608b6a72ed0" of type "text/plain" (168254 bytes)

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

Download attachment "dmesg.xz" of type "application/x-xz" (60692 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ