** Description changed:

- This test failed on a Power8 node with Bionic kernel:
+ == SRU Justification ==
+ The TRACE_syscall.ptrace_syscall_dropped test in seccomp from 
ubuntu_kernel_selftests will fail on a Power8 node with B/C kernel.
  
  [ RUN      ] TRACE_syscall.ptrace_syscall_dropped
  seccomp_bpf.c:1808:TRACE_syscall.ptrace_syscall_dropped:Expected 1 (1) == 
syscall(286) (18446744073709551615)
  TRACE_syscall.ptrace_syscall_dropped: Test failed at step #13
  [     FAIL ] TRACE_syscall.ptrace_syscall_dropped
  
- Please find the attachment for the complete test log.
+ == Fix ==
+ * ed5f1326 (selftests/seccomp: Enhance per-arch ptrace syscall skip tests)
+ 
+ This patch can be cherry-picked into B/C, and it's already in Disco.
+ The ptrace_syscall_dropped will be changed into ptrace_syscall_faked, and a 
new ptrace_syscall_errno test will be added.
+ 
+ == Test ==
+ Patch tested with different arch (amd64 / power8 / arm64 / i386), the new 
test will pass on them except Power8.
+ 
+ 
+ == Regression Potential ==
+ Low, changes limited to the testing tool in the kernel.
+ Although the faked and errno test will fail on PowerPC, it's actually helping 
us to find out a real issue in our kernel.
+ 
  
  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
+  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 06:09:34 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
+  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: 0.13 0.34 0.23 1/1487 35882
  ProcSwaps:
-  Filename                             Type            Size    Used    Priority
-  /swap.img                               file         8388544 0       -2
+  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
+  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.694 GHz (cpu 152)
-  max: 3.694 GHz (cpu 1)
-  avg: 3.694 GHz
+  min: 3.694 GHz (cpu 152)
+  max: 3.694 GHz (cpu 1)
+  avg: 3.694 GHz
  cpu_runmode:
-  Could not retrieve current diagnostics mode,
-  No kernel interface to firmware
+  Could not retrieve current diagnostics mode,
+  No kernel interface to firmware
  cpu_smt: SMT=8

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1812796

Title:
  TRACE_syscall.ptrace_syscall_dropped in seccomp from
  ubuntu_kernel_selftests failed on B/C PowerPC

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to