← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1812809] Re: Kprobe event argument syntax in ftrace from ubuntu_kernel_selftests failed on B PowerPC

 

** Description changed:

  == Justification ==
  When running the ftrace in ubunut_kernel_selftests, the "Kprobe event argument syntax" will fail on Bionic PowerPC.
  
  This is because PowerPC was not supported by this test.
  
  == Fix ==
  9855c462 (selftests/ftrace: Add ppc support for kprobe args tests)
+ This patch can be cherry-picked for Bionic and Xenial.
+ Although we don't run this ftrace test in Xenial, it will still be a plus to fix this.
+ 
+ It's already been applied in C/D.
  
  == Test ==
  Patch tested with Bionic P8. Test passed as expected:
  [23] Kprobe event argument syntax	[PASS]
  
  == Regression potential ==
  None.
  This patch is just for the kernel testing tool.
- 
  
  == Original bug report ==
  This issue was not spotted on the other arches.
  
  Failure:
  [23] Kprobe event argument syntax	[FAIL]
  
  === 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] event tracing - enable/disable with event level files	[PASS]
  [6] event tracing - restricts events based on pid	[PASS]
  [7] event tracing - enable/disable with subsystem level files	[PASS]
  [8] event tracing - enable/disable with top level files	[PASS]
  [9] ftrace - function graph filters with stack tracer	[PASS]
  [10] ftrace - function graph filters	[PASS]
  [11] ftrace - function glob filters	[PASS]
  [12] ftrace - function pid filters	[PASS]
  [13] ftrace - test for function event triggers	[PASS]
  [14] ftrace - function profiler with function tracing	[PASS]
  [15] ftrace - test reading of set_ftrace_filter	[PASS]
  [16] ftrace - test for function traceon/off triggers	[PASS]
  [17] Test creation and deletion of trace instances while setting an event	[PASS]
  [18] Test creation and deletion of trace instances	[PASS]
  [19] Kprobe dynamic event - adding and removing	[PASS]
  [20] Kprobe dynamic event - busy event check	[PASS]
  [21] Kprobe dynamic event with arguments	[PASS]
  [22] Kprobe event string type argument	[UNTESTED]
  [23] Kprobe event argument syntax	[FAIL]
  [24] Kprobes event arguments with types	[PASS]
  [25] Kprobe event auto/manual naming	[PASS]
  [26] Kprobe dynamic event with function tracer	[PASS]
  [27] Kprobe dynamic event - probing module	[PASS]
  [28] Kretprobe dynamic event with arguments	[PASS]
  [29] Kretprobe dynamic event with maxactive	[PASS]
  [30] Register/unregister many kprobe events	[PASS]
  [31] Kprobe events - probe points	[PASS]
  [32] event trigger - test multiple actions on hist trigger	[UNSUPPORTED]
  [33] event trigger - test event enable/disable trigger	[PASS]
  [34] event trigger - test trigger filter	[PASS]
  [35] event trigger - test histogram modifiers	[PASS]
  [36] event trigger - test histogram trigger	[PASS]
  [37] event trigger - test multiple histogram triggers	[PASS]
  [38] event trigger - test snapshot-trigger	[PASS]
  [39] event trigger - test stacktrace-trigger	[PASS]
  [40] event trigger - test traceon/off trigger	[PASS]
  [41] (instance)  Basic test for tracers	[PASS]
  [42] (instance)  Basic trace clock test	[PASS]
  [43] (instance)  event tracing - enable/disable with event level files	[PASS]
  [44] (instance)  event tracing - restricts events based on pid	[PASS]
  [45] (instance)  event tracing - enable/disable with subsystem level files	[PASS]
  [46] (instance)  ftrace - test for function event triggers	[PASS]
  [47] (instance)  ftrace - test for function traceon/off triggers	[PASS]
  [48] (instance)  event trigger - test event enable/disable trigger	[PASS]
  [49] (instance)  event trigger - test trigger filter	[PASS]
  [50] (instance)  event trigger - test histogram modifiers	[PASS]
  [51] (instance)  event trigger - test histogram trigger	[PASS]
  [52] (instance)  event trigger - test multiple histogram triggers	[PASS]
  
  # of passed:  49
  # of failed:  1
  # of unresolved:  0
  # of untested:  1
  # of unsupported:  1
  # of xfailed:  0
  # of undefined(test bug):  0
  
  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-43-generic 4.15.0-43.46
  ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
  Uname: Linux 4.15.0-43-generic ppc64le
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Jan 22 04:30 seq
   crw-rw---- 1 root audio 116, 33 Jan 22 04:30 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.9-0ubuntu7.5
  Architecture: ppc64el
  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: Tue Jan 22 07:11:23 2019
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  Lsusb:
   Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  PciMultimedia:
  
  ProcFB:
  
  ProcKernelCmdLine: root=/dev/mapper/mpath0-part2 ro console=hvc0
  ProcLoadAvg: 92.93 195.93 96.18 1/1497 66257
  ProcSwaps:
   Filename				Type		Size	Used	Priority
   /swap.img                               file		8388544	0	-2
  ProcVersion: Linux version 4.15.0-43-generic (buildd@bos02-ppc64el-020) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #46-Ubuntu SMP Thu Dec 6 14:43:28 UTC 2018
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-43-generic N/A
   linux-backports-modules-4.15.0-43-generic  N/A
   linux-firmware                             1.173.3
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  VarLogDump_list: total 0
  cpu_cores: Number of cores present = 20
  cpu_coreson: Number of cores online = 20
  cpu_dscr: DSCR is 0
  cpu_freq:
   min:	3.696 GHz (cpu 158)
   max:	3.697 GHz (cpu 1)
   avg:	3.697 GHz
  cpu_runmode:
   Could not retrieve current diagnostics mode,
   No kernel interface to firmware
  cpu_smt: SMT=8

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1812809

Title:
  Kprobe event argument syntax in ftrace from ubuntu_kernel_selftests
  failed on B PowerPC

Status in ubuntu-kernel-tests:
  In Progress
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Xenial:
  In Progress
Status in linux source package in Bionic:
  In Progress

Bug description:
  == Justification ==
  When running the ftrace in ubunut_kernel_selftests, the "Kprobe event argument syntax" will fail on Bionic PowerPC.

  This is because PowerPC was not supported by this test.

  == Fix ==
  9855c462 (selftests/ftrace: Add ppc support for kprobe args tests)
  This patch can be cherry-picked for Bionic and Xenial.
  Although we don't run this ftrace test in Xenial, it will still be a plus to fix this.

  It's already been applied in C/D.

  == Test ==
  Patch tested with Bionic P8. Test passed as expected:
  [23] Kprobe event argument syntax	[PASS]

  == Regression potential ==
  None.
  This patch is just for the kernel testing tool.

  == Original bug report ==
  This issue was not spotted on the other arches.

  Failure:
  [23] Kprobe event argument syntax	[FAIL]

  === 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] event tracing - enable/disable with event level files	[PASS]
  [6] event tracing - restricts events based on pid	[PASS]
  [7] event tracing - enable/disable with subsystem level files	[PASS]
  [8] event tracing - enable/disable with top level files	[PASS]
  [9] ftrace - function graph filters with stack tracer	[PASS]
  [10] ftrace - function graph filters	[PASS]
  [11] ftrace - function glob filters	[PASS]
  [12] ftrace - function pid filters	[PASS]
  [13] ftrace - test for function event triggers	[PASS]
  [14] ftrace - function profiler with function tracing	[PASS]
  [15] ftrace - test reading of set_ftrace_filter	[PASS]
  [16] ftrace - test for function traceon/off triggers	[PASS]
  [17] Test creation and deletion of trace instances while setting an event	[PASS]
  [18] Test creation and deletion of trace instances	[PASS]
  [19] Kprobe dynamic event - adding and removing	[PASS]
  [20] Kprobe dynamic event - busy event check	[PASS]
  [21] Kprobe dynamic event with arguments	[PASS]
  [22] Kprobe event string type argument	[UNTESTED]
  [23] Kprobe event argument syntax	[FAIL]
  [24] Kprobes event arguments with types	[PASS]
  [25] Kprobe event auto/manual naming	[PASS]
  [26] Kprobe dynamic event with function tracer	[PASS]
  [27] Kprobe dynamic event - probing module	[PASS]
  [28] Kretprobe dynamic event with arguments	[PASS]
  [29] Kretprobe dynamic event with maxactive	[PASS]
  [30] Register/unregister many kprobe events	[PASS]
  [31] Kprobe events - probe points	[PASS]
  [32] event trigger - test multiple actions on hist trigger	[UNSUPPORTED]
  [33] event trigger - test event enable/disable trigger	[PASS]
  [34] event trigger - test trigger filter	[PASS]
  [35] event trigger - test histogram modifiers	[PASS]
  [36] event trigger - test histogram trigger	[PASS]
  [37] event trigger - test multiple histogram triggers	[PASS]
  [38] event trigger - test snapshot-trigger	[PASS]
  [39] event trigger - test stacktrace-trigger	[PASS]
  [40] event trigger - test traceon/off trigger	[PASS]
  [41] (instance)  Basic test for tracers	[PASS]
  [42] (instance)  Basic trace clock test	[PASS]
  [43] (instance)  event tracing - enable/disable with event level files	[PASS]
  [44] (instance)  event tracing - restricts events based on pid	[PASS]
  [45] (instance)  event tracing - enable/disable with subsystem level files	[PASS]
  [46] (instance)  ftrace - test for function event triggers	[PASS]
  [47] (instance)  ftrace - test for function traceon/off triggers	[PASS]
  [48] (instance)  event trigger - test event enable/disable trigger	[PASS]
  [49] (instance)  event trigger - test trigger filter	[PASS]
  [50] (instance)  event trigger - test histogram modifiers	[PASS]
  [51] (instance)  event trigger - test histogram trigger	[PASS]
  [52] (instance)  event trigger - test multiple histogram triggers	[PASS]

  # of passed:  49
  # of failed:  1
  # of unresolved:  0
  # of untested:  1
  # of unsupported:  1
  # of xfailed:  0
  # of undefined(test bug):  0

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-43-generic 4.15.0-43.46
  ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
  Uname: Linux 4.15.0-43-generic ppc64le
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Jan 22 04:30 seq
   crw-rw---- 1 root audio 116, 33 Jan 22 04:30 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.9-0ubuntu7.5
  Architecture: ppc64el
  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: Tue Jan 22 07:11:23 2019
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  Lsusb:
   Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  PciMultimedia:

  ProcFB:

  ProcKernelCmdLine: root=/dev/mapper/mpath0-part2 ro console=hvc0
  ProcLoadAvg: 92.93 195.93 96.18 1/1497 66257
  ProcSwaps:
   Filename				Type		Size	Used	Priority
   /swap.img                               file		8388544	0	-2
  ProcVersion: Linux version 4.15.0-43-generic (buildd@bos02-ppc64el-020) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #46-Ubuntu SMP Thu Dec 6 14:43:28 UTC 2018
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-43-generic N/A
   linux-backports-modules-4.15.0-43-generic  N/A
   linux-firmware                             1.173.3
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  VarLogDump_list: total 0
  cpu_cores: Number of cores present = 20
  cpu_coreson: Number of cores online = 20
  cpu_dscr: DSCR is 0
  cpu_freq:
   min:	3.696 GHz (cpu 158)
   max:	3.697 GHz (cpu 1)
   avg:	3.697 GHz
  cpu_runmode:
   Could not retrieve current diagnostics mode,
   No kernel interface to firmware
  cpu_smt: SMT=8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1812809/+subscriptions