TAP version 13
selftests: ftrace: ftracetest
========================================
=== Ftrace unit tests ===
[1] Basic trace file check [PASS]
[2] Basic test for tracers [PASS]
[3] Basic trace clock test [PASS]
[4] Basic event tracing check [PASS]
[5] Change the ringbuffer size [PASS]
[6] Snapshot and tracing setting [PASS]
[7] trace_pipe and trace_marker [PASS]
[8] Generic dynamic event - add/remove kprobe events [PASS]
[9] Generic dynamic event - add/remove synthetic events [PASS]
[10] Generic dynamic event - selective clear (compatibility) [PASS]
[11] Generic dynamic event - generic clear event [PASS]
[12] event tracing - enable/disable with event level files [PASS]
[13] event tracing - restricts events based on pid [PASS]
[14] event tracing - enable/disable with subsystem level files [PASS]
[15] event tracing - enable/disable with top level files [PASS]
[16] Test trace_printk from module [PASS]
[17] ftrace - function graph filters with stack tracer [PASS]
[18] ftrace - function graph filters [PASS]
[19] ftrace - function glob filters [PASS]
[20] ftrace - function pid filters [PASS]
[21] ftrace - stacktrace filter command [PASS]
[22] ftrace - function trace with cpumask [PASS]
[23] ftrace - test for function event triggers [PASS]
[24] ftrace - function trace on module [PASS]
[25] ftrace - function profiling [PASS]
[26] ftrace - function profiler with function tracing [PASS]
[27] ftrace - test reading of set_ftrace_filter [PASS]
[28] ftrace - Max stack tracer [PASS]
[29] ftrace - test for function traceon/off triggers [FAIL]
[30] Test creation and deletion of trace instances while setting an event [PASS]
[31] Test creation and deletion of trace instances [PASS]
[32] Kprobe dynamic event - adding and removing [PASS]
[33] Kprobe dynamic event - busy event check [PASS]
[34] Kprobe dynamic event with arguments [PASS]
[35] Kprobe event with comm arguments [PASS]
[36] Kprobe event string type argument [PASS]
[37] Kprobe event symbol argument [PASS]
[38] Kprobe event argument syntax [PASS]
[39] Kprobes event arguments with types [PASS]
[40] Kprobe event auto/manual naming [PASS]
[41] Kprobe dynamic event with function tracer [PASS]
[42] Kprobe dynamic event - probing module [PASS]
[43] Kretprobe dynamic event with arguments [PASS]
[44] Kretprobe dynamic event with maxactive [PASS]
[45] Register/unregister many kprobe events [PASS]
[46] Kprobe events - probe points [PASS]
[47] Kprobe dynamic event - adding and removing [PASS]
[48] test for the preemptirqsoff tracer [UNSUPPORTED]
[49] Test wakeup tracer [PASS]
[50] Test wakeup RT tracer [PASS]
[51] event trigger - test extended error support [PASS]
[52] event trigger - test field variable support [PASS]
[53] event trigger - test inter-event combined histogram trigger [PASS]
[54] event trigger - test multiple actions on hist trigger [PASS]
[55] event trigger - test inter-event histogram trigger onmatch action [PASS]
[56] event trigger - test inter-event histogram trigger onmatch-onmax action [PASS]
[57] event trigger - test inter-event histogram trigger onmax action [PASS]
[58] event trigger - test synthetic event create remove [PASS]
[59] event trigger - test synthetic_events syntax parser [PASS]
[60] event trigger - test event enable/disable trigger [PASS]
[61] event trigger - test trigger filter [PASS]
[62] event trigger - test histogram modifiers [PASS]
[63] event trigger - test histogram trigger [PASS]
[64] event trigger - test multiple histogram triggers [PASS]
[65] event trigger - test snapshot-trigger [PASS]
[66] event trigger - test stacktrace-trigger [PASS]
[67] trace_marker trigger - test histogram trigger [PASS]
[68] trace_marker trigger - test snapshot trigger [PASS]
[69] trace_marker trigger - test histogram with synthetic event against kernel event [PASS]
[70] trace_marker trigger - test histogram with synthetic event [PASS]
[71] event trigger - test traceon/off trigger [PASS]
[72] (instance) Basic test for tracers [PASS]
[73] (instance) Basic trace clock test [PASS]
[74] (instance) Change the ringbuffer size [PASS]
[75] (instance) Snapshot and tracing setting [PASS]
[76] (instance) trace_pipe and trace_marker [PASS]
[77] (instance) event tracing - enable/disable with event level files [PASS]
[78] (instance) event tracing - restricts events based on pid [PASS]
[79] (instance) event tracing - enable/disable with subsystem level files [PASS]
[80] (instance) ftrace - stacktrace filter command [PASS]
[81] (instance) ftrace - test for function event triggers [PASS]
[82] (instance) ftrace - test for function traceon/off triggers [PASS]
[83] (instance) event trigger - test event enable/disable trigger [PASS]
[84] (instance) event trigger - test trigger filter [PASS]
[85] (instance) event trigger - test histogram modifiers [PASS]
[86] (instance) event trigger - test histogram trigger [PASS]
[87] (instance) event trigger - test multiple histogram triggers [PASS]
[88] (instance) trace_marker trigger - test histogram trigger [PASS]
[89] (instance) trace_marker trigger - test snapshot trigger [PASS]
# of passed: 87
# of failed: 1
# of unresolved: 0
# of untested: 0
# of unsupported: 1
# of xfailed: 0
# of undefined(test bug): 0
not ok 1..1 selftests: ftrace: ftracetest [FAIL]
However it can pass with the upstream tree:
# [28] ftrace - Max stack tracer [PASS]
# [29] ftrace - test for function traceon/off triggers [PASS]
# [30] ftrace - test tracing error log support [FAIL]
# [31] Test creation and deletion of trace instances while setting an event [PASS]
# [32] Test creation and deletion of trace instances [PASS]
So it looks like a test case issue from this point.
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: linux-image-5.0.0-20-generic 5.0.0-20.21
ProcVersionSignature: User Name 5.0.0-20.21-generic 5.0.8
Uname: Linux 5.0.0-20-generic aarch64
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Jul 18 04:23 seq
crw-rw---- 1 root audio 116, 33 Jul 18 04:23 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Thu Jul 18 12:03:43 2019
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
MachineType: Cavium ThunderX CRB
PciMultimedia:
ProcFB:
0 EFI VGA
1 astdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-20-generic root=UUID=d4e5f461-24ef-47d8-a67f-42c82ff1efe8 ro
RelatedPackageVersions:
linux-restricted-modules-5.0.0-20-generic N/A
linux-backports-modules-5.0.0-20-generic N/A
linux-firmware 1.178.2
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/12/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5.11
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: To be filled by O.E.M.
dmi.board.vendor: To be filled by O.E.M.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.asset.tag: To be filled by O.E.M.
dmi.chassis.type: 0
dmi.chassis.vendor: Cavium
dmi.chassis.version: To be filled by O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd12/12/2012:svnCavium:pnThunderXCRB:pvrTobefilledbyO.E.M.:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnCavium:ct0:cvrTobefilledbyO.E.M.:
dmi.product.family: Default string
dmi.product.name: ThunderX CRB
dmi.product.sku: Default string
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Cavium
Test failed with the disco master-next branch:
TAP version 13 ======= ======= ======= ======= =====
selftests: ftrace: ftracetest
=======
=== Ftrace unit tests ===
[1] Basic trace file check [PASS]
[2] Basic test for tracers [PASS]
[3] Basic trace clock test [PASS]
[4] Basic event tracing check [PASS]
[5] Change the ringbuffer size [PASS]
[6] Snapshot and tracing setting [PASS]
[7] trace_pipe and trace_marker [PASS]
[8] Generic dynamic event - add/remove kprobe events [PASS]
[9] Generic dynamic event - add/remove synthetic events [PASS]
[10] Generic dynamic event - selective clear (compatibility) [PASS]
[11] Generic dynamic event - generic clear event [PASS]
[12] event tracing - enable/disable with event level files [PASS]
[13] event tracing - restricts events based on pid [PASS]
[14] event tracing - enable/disable with subsystem level files [PASS]
[15] event tracing - enable/disable with top level files [PASS]
[16] Test trace_printk from module [PASS]
[17] ftrace - function graph filters with stack tracer [PASS]
[18] ftrace - function graph filters [PASS]
[19] ftrace - function glob filters [PASS]
[20] ftrace - function pid filters [PASS]
[21] ftrace - stacktrace filter command [PASS]
[22] ftrace - function trace with cpumask [PASS]
[23] ftrace - test for function event triggers [PASS]
[24] ftrace - function trace on module [PASS]
[25] ftrace - function profiling [PASS]
[26] ftrace - function profiler with function tracing [PASS]
[27] ftrace - test reading of set_ftrace_filter [PASS]
[28] ftrace - Max stack tracer [PASS]
[29] ftrace - test for function traceon/off triggers [FAIL]
[30] Test creation and deletion of trace instances while setting an event [PASS]
[31] Test creation and deletion of trace instances [PASS]
[32] Kprobe dynamic event - adding and removing [PASS]
[33] Kprobe dynamic event - busy event check [PASS]
[34] Kprobe dynamic event with arguments [PASS]
[35] Kprobe event with comm arguments [PASS]
[36] Kprobe event string type argument [PASS]
[37] Kprobe event symbol argument [PASS]
[38] Kprobe event argument syntax [PASS]
[39] Kprobes event arguments with types [PASS]
[40] Kprobe event auto/manual naming [PASS]
[41] Kprobe dynamic event with function tracer [PASS]
[42] Kprobe dynamic event - probing module [PASS]
[43] Kretprobe dynamic event with arguments [PASS]
[44] Kretprobe dynamic event with maxactive [PASS]
[45] Register/unregister many kprobe events [PASS]
[46] Kprobe events - probe points [PASS]
[47] Kprobe dynamic event - adding and removing [PASS]
[48] test for the preemptirqsoff tracer [UNSUPPORTED]
[49] Test wakeup tracer [PASS]
[50] Test wakeup RT tracer [PASS]
[51] event trigger - test extended error support [PASS]
[52] event trigger - test field variable support [PASS]
[53] event trigger - test inter-event combined histogram trigger [PASS]
[54] event trigger - test multiple actions on hist trigger [PASS]
[55] event trigger - test inter-event histogram trigger onmatch action [PASS]
[56] event trigger - test inter-event histogram trigger onmatch-onmax action [PASS]
[57] event trigger - test inter-event histogram trigger onmax action [PASS]
[58] event trigger - test synthetic event create remove [PASS]
[59] event trigger - test synthetic_events syntax parser [PASS]
[60] event trigger - test event enable/disable trigger [PASS]
[61] event trigger - test trigger filter [PASS]
[62] event trigger - test histogram modifiers [PASS]
[63] event trigger - test histogram trigger [PASS]
[64] event trigger - test multiple histogram triggers [PASS]
[65] event trigger - test snapshot-trigger [PASS]
[66] event trigger - test stacktrace-trigger [PASS]
[67] trace_marker trigger - test histogram trigger [PASS]
[68] trace_marker trigger - test snapshot trigger [PASS]
[69] trace_marker trigger - test histogram with synthetic event against kernel event [PASS]
[70] trace_marker trigger - test histogram with synthetic event [PASS]
[71] event trigger - test traceon/off trigger [PASS]
[72] (instance) Basic test for tracers [PASS]
[73] (instance) Basic trace clock test [PASS]
[74] (instance) Change the ringbuffer size [PASS]
[75] (instance) Snapshot and tracing setting [PASS]
[76] (instance) trace_pipe and trace_marker [PASS]
[77] (instance) event tracing - enable/disable with event level files [PASS]
[78] (instance) event tracing - restricts events based on pid [PASS]
[79] (instance) event tracing - enable/disable with subsystem level files [PASS]
[80] (instance) ftrace - stacktrace filter command [PASS]
[81] (instance) ftrace - test for function event triggers [PASS]
[82] (instance) ftrace - test for function traceon/off triggers [PASS]
[83] (instance) event trigger - test event enable/disable trigger [PASS]
[84] (instance) event trigger - test trigger filter [PASS]
[85] (instance) event trigger - test histogram modifiers [PASS]
[86] (instance) event trigger - test histogram trigger [PASS]
[87] (instance) event trigger - test multiple histogram triggers [PASS]
[88] (instance) trace_marker trigger - test histogram trigger [PASS]
[89] (instance) trace_marker trigger - test snapshot trigger [PASS]
# of passed: 87
# of failed: 1
# of unresolved: 0
# of untested: 0
# of unsupported: 1
# of xfailed: 0
# of undefined(test bug): 0
not ok 1..1 selftests: ftrace: ftracetest [FAIL]
However it can pass with the upstream tree:
# [28] ftrace - Max stack tracer [PASS]
# [29] ftrace - test for function traceon/off triggers [PASS]
# [30] ftrace - test tracing error log support [FAIL]
# [31] Test creation and deletion of trace instances while setting an event [PASS]
# [32] Test creation and deletion of trace instances [PASS]
So it looks like a test case issue from this point.
ProblemType: Bug 5.0.0-20- generic 5.0.0-20.21 ature: User Name 5.0.0-20.21-generic 5.0.8
DistroRelease: Ubuntu 19.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.0.0-20-generic aarch64
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Jul 18 04:23 seq
crw-rw---- 1 root audio 116, 33 Jul 18 04:23 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Thu Jul 18 12:03:43 2019
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
MachineType: Cavium ThunderX CRB
PciMultimedia:
ProcFB: /boot/vmlinuz- 5.0.0-20- generic root=UUID= d4e5f461- 24ef-47d8- a67f-42c82ff1ef e8 ro ersions: restricted- modules- 5.0.0-20- generic N/A backports- modules- 5.0.0-20- generic N/A asset.tag: To be filled by O.E.M. asset.tag: To be filled by O.E.M. version: To be filled by O.E.M. MegatrendsInc. :bvr5.11: bd12/12/ 2012:svnCavium: pnThunderXCRB: pvrTobefilledby O.E.M.: rvnTobefilledby O.E.M.: rnTobefilledbyO .E.M.:rvrTobefi lledbyO. E.M.:cvnCavium: ct0:cvrTobefill edbyO.E. M.: version: To be filled by O.E.M.
0 EFI VGA
1 astdrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.178.2
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/12/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5.11
dmi.board.
dmi.board.name: To be filled by O.E.M.
dmi.board.vendor: To be filled by O.E.M.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.
dmi.chassis.type: 0
dmi.chassis.vendor: Cavium
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: Default string
dmi.product.name: ThunderX CRB
dmi.product.sku: Default string
dmi.product.
dmi.sys.vendor: Cavium