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]
Date:   Fri, 29 Oct 2021 14:48:18 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Kalesh Singh <kaleshsingh@...gle.com>
Cc:     lkp@...ts.01.org, lkp@...el.com, surenb@...gle.com,
        hridya@...gle.com, namhyung@...nel.org, kernel-team@...roid.com,
        Kalesh Singh <kaleshsingh@...gle.com>,
        Jonathan Corbet <corbet@....net>,
        Steven Rostedt <rostedt@...dmis.org>,
        Ingo Molnar <mingo@...hat.com>, Shuah Khan <shuah@...nel.org>,
        Masami Hiramatsu <mhiramat@...nel.org>,
        Tom Zanussi <zanussi@...nel.org>, linux-doc@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: [tracing/selftests]  cfece71411:
 kernel-selftests.ftrace.event_trigger_-_test_inter-event_histogram_trigger_onchange_action.fail



Greeting,

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

commit: cfece71411dbca5dc5e1fa2d9ce5a3f38e55d4fe ("[PATCH v4 7/8] tracing/selftests: Add tests for hist trigger expression parsing")
url: https://github.com/0day-ci/linux/commits/Kalesh-Singh/tracing-Extend-histogram-triggers-expression-parsing/20211026-042529


in testcase: kernel-selftests
version: kernel-selftests-x86_64-c8c9111a-1_20210929
with following parameters:

	group: ftrace
	ucode: 0xe2

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) Core(TM) i5-6500 CPU @ 3.20GHz with 32G memory

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




If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>



TAP version 13
1..1
# selftests: ftrace: ftracetest
# === Ftrace unit tests ===
# [1] Basic trace file check	[PASS]
...
<<< [1] - [67] have same results as parent, i.e. both PASS or both FAIL >>>
...
# [67] event trigger - test multiple actions on hist trigger	[PASS]

>>> [68] - [72] can PASS on parent
# [68] event trigger - test inter-event histogram trigger onchange action	[FAIL]
# [69] event trigger - test inter-event histogram trigger onmatch action	[FAIL]
# [70] event trigger - test inter-event histogram trigger onmatch-onmax action	[FAIL]
# [71] event trigger - test inter-event histogram trigger onmax action	[FAIL]
# [72] event trigger - test inter-event histogram trigger snapshot action	[FAIL]

>>> [73] fail on parent, too
# [73] event trigger - test inter-event histogram trigger eprobe on synthetic event	[FAIL]

>>> [74] - [92] can PASS on parent
# [74] event trigger - test synthetic event create remove	[FAIL]
# [75] event trigger - test inter-event histogram trigger trace action with dynamic string param	[FAIL]
# [76] event trigger - test synthetic_events syntax parser	[FAIL]
# [77] event trigger - test synthetic_events syntax parser errors	[FAIL]
# [78] event trigger - test inter-event histogram trigger trace action	[FAIL]
# [79] event trigger - test event enable/disable trigger	[FAIL]
# [80] event trigger - test trigger filter	[FAIL]
# [81] event trigger - test histogram expression parsing	[FAIL]
# [82] event trigger - test histogram modifiers	[FAIL]
# [83] event trigger - test histogram parser errors	[FAIL]
# [84] event trigger - test histogram trigger	[FAIL]
# [85] event trigger - test multiple histogram triggers	[FAIL]
# [86] event trigger - test snapshot-trigger	[FAIL]
# [87] event trigger - test stacktrace-trigger	[FAIL]
# [88] trace_marker trigger - test histogram trigger	[FAIL]
# [89] trace_marker trigger - test snapshot trigger	[FAIL]
# [90] trace_marker trigger - test histogram with synthetic event against kernel event	[FAIL]
# [91] trace_marker trigger - test histogram with synthetic event	[FAIL]
# [92] event trigger - test traceon/off trigger	[FAIL]
# [93] (instance)  Basic test for tracers	[PASS]
...
<<< [93] - [112] have same results as parent, all PASS >>>
...
# [112] (instance)  trace_marker trigger - test histogram trigger	[PASS]

>>> parent has no [113]
# [113] (instance)  trace_marker trigger - test snapshot trigger	[PASS]
# tac: failed to create temporary file in '/tmp/ftracetest-dir.o54lNh': No such file or directory
# tac: failed to create temporary file in '/tmp/ftracetest-dir.o54lNh': No such file or directory
# tac: failed to create temporary file in '/tmp/ftracetest-dir.o54lNh': No such file or directory
# tac: failed to create temporary file in '/tmp/ftracetest-dir.o54lNh': No such file or directory
# 
# 
# # of passed:  85
# # of failed:  26
# # of unresolved:  1
# # of untested:  0
# # of unsupported:  0
# # of xfailed:  1
# # of undefined(test bug):  0
not ok 1 selftests: ftrace: ftracetest # 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.



---
0DAY/LKP+ Test Infrastructure                   Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org       Intel Corporation

Thanks,
Oliver Sang


View attachment "config-5.15.0-rc6-00264-gcfece71411db" of type "text/plain" (176418 bytes)

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

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

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

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

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

Powered by blists - more mailing lists