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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202307251613.4f2de1be-oliver.sang@intel.com>
Date:   Tue, 25 Jul 2023 21:07:09 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Waiman Long <longman@...hat.com>
CC:     <oe-lkp@...ts.linux.dev>, <lkp@...el.com>,
        <linux-kernel@...r.kernel.org>, <aubrey.li@...ux.intel.com>,
        <yu.c.chen@...el.com>, Ingo Molnar <mingo@...hat.com>,
        Peter Zijlstra <peterz@...radead.org>,
        Juri Lelli <juri.lelli@...hat.com>,
        Vincent Guittot <vincent.guittot@...aro.org>,
        Dietmar Eggemann <dietmar.eggemann@....com>,
        Steven Rostedt <rostedt@...dmis.org>,
        Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
        Daniel Bristot de Oliveira <bristot@...hat.com>,
        "Valentin Schneider" <vschneid@...hat.com>,
        Phil Auld <pauld@...hat.com>,
        Brent Rowsell <browsell@...hat.com>,
        Peter Hunt <pehunt@...hat.com>,
        Waiman Long <longman@...hat.com>, <oliver.sang@...el.com>
Subject: Re: [PATCH v2] sched/core: Use empty mask to reset cpumasks in
 sched_setaffinity()



Hello,

kernel test robot noticed "kernel-selftests.vDSO.vdso_test_correctness.fail" on:

commit: 8bd21fae1e37284f0f78fa42fb4d20a6cadfa68a ("[PATCH v2] sched/core: Use empty mask to reset cpumasks in sched_setaffinity()")
url: https://github.com/intel-lab-lkp/linux/commits/Waiman-Long/sched-core-Use-empty-mask-to-reset-cpumasks-in-sched_setaffinity/20230718-194823
base: https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git 2ae2fb98b77339277a2c2f18dfec605dfd8dd321
patch link: https://lore.kernel.org/all/20230717180243.3607603-1-longman@redhat.com/
patch subject: [PATCH v2] sched/core: Use empty mask to reset cpumasks in sched_setaffinity()

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

	group: group-03



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/202307251613.4f2de1be-oliver.sang@intel.com



# timeout set to 300
# selftests: vDSO: vdso_test_correctness
# [RUN]	Testing clock_gettime for clock CLOCK_REALTIME (0)...
# 	1690070252.747617798 1690070252.747630478 1690070252.747630848
# [OK]	Test Passed.
# [RUN]	Testing clock_gettime for clock CLOCK_MONOTONIC (1)...
# 	736.920352329 736.920352966 736.920353262
# [OK]	Test Passed.
# [RUN]	Testing clock_gettime for clock CLOCK_PROCESS_CPUTIME_ID (2)...
# 	0.019803172 0.019806151 0.019807948
# [OK]	Test Passed.
# [RUN]	Testing clock_gettime for clock CLOCK_THREAD_CPUTIME_ID (3)...
# 	0.019810633 0.019812071 0.019813400
# [OK]	Test Passed.
# [RUN]	Testing clock_gettime for clock CLOCK_MONOTONIC_RAW (4)...
# 	736.105961155 736.105961651 736.105961997
# [OK]	Test Passed.
# [RUN]	Testing clock_gettime for clock CLOCK_REALTIME_COARSE (5)...
# 	1690070252.747112013 1690070252.747112013 1690070252.747112013
# [OK]	Test Passed.
# [RUN]	Testing clock_gettime for clock CLOCK_MONOTONIC_COARSE (6)...
# 	736.919830840 736.919830840 736.919830840
# [OK]	Test Passed.
# [RUN]	Testing clock_gettime for clock CLOCK_BOOTTIME (7)...
# 	736.920375040 736.920375446 736.920375746
# [OK]	Test Passed.
# [RUN]	Testing clock_gettime for clock CLOCK_REALTIME_ALARM (8)...
# 	1690070252.747659265 1690070252.747660189 1690070252.747661034
# [OK]	Test Passed.
# [RUN]	Testing clock_gettime for clock CLOCK_BOOTTIME_ALARM (9)...
# 	736.920381384 736.920382382 736.920383280
# [OK]	Test Passed.
# [RUN]	Testing clock_gettime for clock CLOCK_SGI_CYCLE (10)...
# [OK]	No such clock.
# [RUN]	Testing clock_gettime for clock CLOCK_TAI (11)...
# 	1690070252.747666904 1690070252.747667314 1690070252.747667593
# [OK]	Test Passed.
# [RUN]	Testing clock_gettime for clock invalid (-1)...
# [OK]	No such clock.
# [RUN]	Testing clock_gettime for clock invalid (-2147483648)...
# [OK]	No such clock.
# [RUN]	Testing clock_gettime for clock invalid (2147483647)...
# [OK]	No such clock.
# [SKIP]	No vDSO, so skipping clock_gettime64() tests
# [RUN]	Testing gettimeofday...
# 	1690070252.747671 1690070252.747672 1690070252.747673
# [OK]	timezones match: minuteswest=0, dsttime=0
# [RUN]	Testing getcpu...
# [OK]	CPU 0: syscall: cpu 0, node 0 vdso: cpu 0, node 0 vsyscall: cpu 0, node 0
# [OK]	CPU 1: syscall: cpu 1, node 0 vdso: cpu 1, node 0 vsyscall: cpu 1, node 0
# [OK]	CPU 2: syscall: cpu 2, node 0 vdso: cpu 2, node 0 vsyscall: cpu 2, node 0
# [OK]	CPU 3: syscall: cpu 3, node 0 vdso: cpu 3, node 0 vsyscall: cpu 3, node 0
# [OK]	CPU 4: syscall: cpu 4, node 0 vdso: cpu 4, node 0 vsyscall: cpu 4, node 0
# [OK]	CPU 5: syscall: cpu 5, node 0 vdso: cpu 5, node 0 vsyscall: cpu 5, node 0
# [OK]	CPU 6: syscall: cpu 6, node 0 vdso: cpu 6, node 0 vsyscall: cpu 6, node 0
# [OK]	CPU 7: syscall: cpu 7, node 0 vdso: cpu 7, node 0 vsyscall: cpu 7, node 0
# [OK]	CPU 8: syscall: cpu 8, node 0 vdso: cpu 8, node 0 vsyscall: cpu 8, node 0
# [OK]	CPU 9: syscall: cpu 9, node 0 vdso: cpu 9, node 0 vsyscall: cpu 9, node 0
# [OK]	CPU 10: syscall: cpu 10, node 0 vdso: cpu 10, node 0 vsyscall: cpu 10, node 0
# [OK]	CPU 11: syscall: cpu 11, node 0 vdso: cpu 11, node 0 vsyscall: cpu 11, node 0
# [OK]	CPU 12: syscall: cpu 12, node 0 vdso: cpu 12, node 0 vsyscall: cpu 12, node 0
# [OK]	CPU 13: syscall: cpu 13, node 0 vdso: cpu 13, node 0 vsyscall: cpu 13, node 0
# [OK]	CPU 14: syscall: cpu 14, node 0 vdso: cpu 14, node 0 vsyscall: cpu 14, node 0
# [OK]	CPU 15: syscall: cpu 15, node 0 vdso: cpu 15, node 0 vsyscall: cpu 15, node 0
# [OK]	CPU 16: syscall: cpu 16, node 0 vdso: cpu 16, node 0 vsyscall: cpu 16, node 0
# [OK]	CPU 17: syscall: cpu 17, node 0 vdso: cpu 17, node 0 vsyscall: cpu 17, node 0
# [OK]	CPU 18: syscall: cpu 18, node 0 vdso: cpu 18, node 0 vsyscall: cpu 18, node 0
# [OK]	CPU 19: syscall: cpu 19, node 0 vdso: cpu 19, node 0 vsyscall: cpu 19, node 0
# [OK]	CPU 20: syscall: cpu 20, node 0 vdso: cpu 20, node 0 vsyscall: cpu 20, node 0
# [OK]	CPU 21: syscall: cpu 21, node 0 vdso: cpu 21, node 0 vsyscall: cpu 21, node 0
# [OK]	CPU 22: syscall: cpu 22, node 0 vdso: cpu 22, node 0 vsyscall: cpu 22, node 0
# [OK]	CPU 23: syscall: cpu 23, node 0 vdso: cpu 23, node 0 vsyscall: cpu 23, node 0
# [OK]	CPU 24: syscall: cpu 24, node 0 vdso: cpu 24, node 0 vsyscall: cpu 24, node 0
# [OK]	CPU 25: syscall: cpu 25, node 0 vdso: cpu 25, node 0 vsyscall: cpu 25, node 0
# [OK]	CPU 26: syscall: cpu 26, node 0 vdso: cpu 26, node 0 vsyscall: cpu 26, node 0
# [OK]	CPU 27: syscall: cpu 27, node 0 vdso: cpu 27, node 0 vsyscall: cpu 27, node 0
# [OK]	CPU 28: syscall: cpu 28, node 0 vdso: cpu 28, node 0 vsyscall: cpu 28, node 0
# [OK]	CPU 29: syscall: cpu 29, node 0 vdso: cpu 29, node 0 vsyscall: cpu 29, node 0
# [OK]	CPU 30: syscall: cpu 30, node 0 vdso: cpu 30, node 0 vsyscall: cpu 30, node 0
# [OK]	CPU 31: syscall: cpu 31, node 0 vdso: cpu 31, node 0 vsyscall: cpu 31, node 0
# [OK]	CPU 32: syscall: cpu 32, node 0 vdso: cpu 32, node 0 vsyscall: cpu 32, node 0
# [OK]	CPU 33: syscall: cpu 33, node 0 vdso: cpu 33, node 0 vsyscall: cpu 33, node 0
# [OK]	CPU 34: syscall: cpu 34, node 0 vdso: cpu 34, node 0 vsyscall: cpu 34, node 0
# [OK]	CPU 35: syscall: cpu 35, node 0 vdso: cpu 35, node 0 vsyscall: cpu 35, node 0
# [FAIL]	CPU 36: syscall: cpu 35, node 0 vdso: cpu 35, node 0 vsyscall: cpu 35, node 0
not ok 6 selftests: vDSO: vdso_test_correctness # exit=1



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-00015-g8bd21fae1e37" of type "text/plain" (164037 bytes)

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

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

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ