** Description changed:

- This issue was only spotted on Power9 system "balter", for Power8
- system, it has passed with this test:
+ == Justification ==
+ The copy_unaligned / paste_unaligned / paste_last_unaligned test in 
powerpc/alignment will fail on a Power9 node as which implements ISA 3.0B, but 
the test was designed base on ISA 3.0.
  
-  TAP version 13
-  selftests: copy_unaligned
-  ========================================
-  test: test_copy_unaligned
-  tags: git_version:unknown
-  !! child died by signal 4
-  failure: test_copy_unaligned
-  not ok 1..1 selftests: copy_unaligned [FAIL]
-  selftests: copy_first_unaligned
-  ========================================
-  test: test_copy_first_unaligned
-  tags: git_version:unknown
-  success: test_copy_first_unaligned
-  ok 1..2 selftests: copy_first_unaligned [PASS]
-  selftests: paste_unaligned
-  ========================================
-  test: test_paste_unaligned
-  tags: git_version:unknown
-  !! child died by signal 4
-  failure: test_paste_unaligned
-  not ok 1..3 selftests: paste_unaligned [FAIL]
-  selftests: paste_last_unaligned
-  ========================================
-  test: test_paste_last_unaligned
-  tags: git_version:unknown
-  !! child died by signal 4
-  failure: test_paste_last_unaligned
-  not ok 1..4 selftests: paste_last_unaligned [FAIL]
+ From commit message:
+ This is a test of the ISA 3.0 "copy" instruction. That instruction has
+ an L field, which if set to 1 specifies that "the instruction
+ identifies the beginning of a move group" (pp 858). That's also
+ referred to as "copy first" vs "copy".
+ 
+ In ISA 3.0B the copy instruction does not have an L field, and the
+ corresponding bit in the instruction must be set to 1.
+ 
+ This test is generating a "copy" instruction, not a "copy first", and
+ so on Power9 (which implements 3.0B), this results in an illegal
+ instruction.
+ 
+ So just drop the test entirely. We still have copy_first_unaligned to
+ test the "copy first" behaviour.
+ 
+ == Fix ==
+ * 83039f22 (selftests/powerpc: Remove Power9 copy_unaligned test)
+ 
+ Patch can be cherry-picked into C, for Bionic it needs patches for bug
+ 1828935 to land first to make it a clean cherry-pick.
+ 
+ It's already landed in D and onward.
+ 
+ == Test ==
+ Tested on a Power9 server with Cosmic, the broken tests will be removed 
correctly. 
+ 
+ == Regression Potential ==
+ Low.
+ Code change limited to testing tools and just removing broken tests. We still 
have copy_first_unaligned to test the "copy first" behaviour.
+ 
+ 
+ == Original Bug Report ==
+ This issue was only spotted on Power9 system "balter", for Power8 system, it 
has passed (skipped, and marked as passed) with this test:
+ 
+  TAP version 13
+  selftests: copy_unaligned
+  ========================================
+  test: test_copy_unaligned
+  tags: git_version:unknown
+  !! child died by signal 4
+  failure: test_copy_unaligned
+  not ok 1..1 selftests: copy_unaligned [FAIL]
+  selftests: copy_first_unaligned
+  ========================================
+  test: test_copy_first_unaligned
+  tags: git_version:unknown
+  success: test_copy_first_unaligned
+  ok 1..2 selftests: copy_first_unaligned [PASS]
+  selftests: paste_unaligned
+  ========================================
+  test: test_paste_unaligned
+  tags: git_version:unknown
+  !! child died by signal 4
+  failure: test_paste_unaligned
+  not ok 1..3 selftests: paste_unaligned [FAIL]
+  selftests: paste_last_unaligned
+  ========================================
+  test: test_paste_last_unaligned
+  tags: git_version:unknown
+  !! child died by signal 4
+  failure: test_paste_last_unaligned
+  not ok 1..4 selftests: paste_last_unaligned [FAIL]
  
  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 24 06:50 seq
-  crw-rw---- 1 root audio 116, 33 Jan 24 06:50 timer
+  total 0
+  crw-rw---- 1 root audio 116,  1 Jan 24 06:50 seq
+  crw-rw---- 1 root audio 116, 33 Jan 24 06:50 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: Thu Jan 24 07:05:20 2019
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  Lsusb:
-  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
-  Bus 001 Device 003: ID 0451:80ff Texas Instruments, Inc. 
-  Bus 001 Device 004: ID 0557:2419 ATEN International Co., Ltd 
-  Bus 001 Device 002: ID 0557:7000 ATEN International Co., Ltd Hub
-  Bus 001 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 003: ID 0451:80ff Texas Instruments, Inc.
+  Bus 001 Device 004: ID 0557:2419 ATEN International Co., Ltd
+  Bus 001 Device 002: ID 0557:7000 ATEN International Co., Ltd Hub
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  PciMultimedia:
-  
+ 
  ProcFB: 0 astdrmfb
  ProcKernelCmdLine: root=UUID=acd1a0d7-f6fc-4130-928c-c8b11ad6e4be ro 
console=hvc0
  ProcLoadAvg: 1.24 0.89 0.66 3/1412 8319
  ProcLocks:
-  1: POSIX  ADVISORY  WRITE 3876 00:17:569 0 EOF
-  2: FLOCK  ADVISORY  WRITE 3556 00:17:497 0 EOF
-  3: FLOCK  ADVISORY  WRITE 4090 00:17:596 0 EOF
-  4: POSIX  ADVISORY  WRITE 3955 00:17:571 0 EOF
-  5: POSIX  ADVISORY  WRITE 1823 00:17:348 0 EOF
+  1: POSIX  ADVISORY  WRITE 3876 00:17:569 0 EOF
+  2: FLOCK  ADVISORY  WRITE 3556 00:17:497 0 EOF
+  3: FLOCK  ADVISORY  WRITE 4090 00:17:596 0 EOF
+  4: POSIX  ADVISORY  WRITE 3955 00:17:571 0 EOF
+  5: POSIX  ADVISORY  WRITE 1823 00:17:348 0 EOF
  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 = 40
  cpu_coreson: Number of cores online = 40
  cpu_dscr: DSCR is 3
  cpu_freq:
-  min: 2.862 GHz (cpu 159)
-  max: 2.863 GHz (cpu 1)
-  avg: 2.862 GHz
+  min: 2.862 GHz (cpu 159)
+  max: 2.863 GHz (cpu 1)
+  avg: 2.862 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=4

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1813118

Title:
  alignment test in powerpc from ubuntu_kernel_selftests failed on B/C
  Power9

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

Bug description:
  == Justification ==
  The copy_unaligned / paste_unaligned / paste_last_unaligned test in 
powerpc/alignment will fail on a Power9 node as which implements ISA 3.0B, but 
the test was designed base on ISA 3.0.

  From commit message:
  This is a test of the ISA 3.0 "copy" instruction. That instruction has
  an L field, which if set to 1 specifies that "the instruction
  identifies the beginning of a move group" (pp 858). That's also
  referred to as "copy first" vs "copy".

  In ISA 3.0B the copy instruction does not have an L field, and the
  corresponding bit in the instruction must be set to 1.

  This test is generating a "copy" instruction, not a "copy first", and
  so on Power9 (which implements 3.0B), this results in an illegal
  instruction.

  So just drop the test entirely. We still have copy_first_unaligned to
  test the "copy first" behaviour.

  == Fix ==
  * 83039f22 (selftests/powerpc: Remove Power9 copy_unaligned test)

  Patch can be cherry-picked into C, for Bionic it needs patches for bug
  1828935 to land first to make it a clean cherry-pick.

  It's already landed in D and onward.

  == Test ==
  Tested on a Power9 server with Cosmic, the broken tests will be removed 
correctly. 

  == Regression Potential ==
  Low.
  Code change limited to testing tools and just removing broken tests. We still 
have copy_first_unaligned to test the "copy first" behaviour.

  
  == Original Bug Report ==
  This issue was only spotted on Power9 system "balter", for Power8 system, it 
has passed (skipped, and marked as passed) with this test:

   TAP version 13
   selftests: copy_unaligned
   ========================================
   test: test_copy_unaligned
   tags: git_version:unknown
   !! child died by signal 4
   failure: test_copy_unaligned
   not ok 1..1 selftests: copy_unaligned [FAIL]
   selftests: copy_first_unaligned
   ========================================
   test: test_copy_first_unaligned
   tags: git_version:unknown
   success: test_copy_first_unaligned
   ok 1..2 selftests: copy_first_unaligned [PASS]
   selftests: paste_unaligned
   ========================================
   test: test_paste_unaligned
   tags: git_version:unknown
   !! child died by signal 4
   failure: test_paste_unaligned
   not ok 1..3 selftests: paste_unaligned [FAIL]
   selftests: paste_last_unaligned
   ========================================
   test: test_paste_last_unaligned
   tags: git_version:unknown
   !! child died by signal 4
   failure: test_paste_last_unaligned
   not ok 1..4 selftests: paste_last_unaligned [FAIL]

  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 24 06:50 seq
   crw-rw---- 1 root audio 116, 33 Jan 24 06:50 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: Thu Jan 24 07:05:20 2019
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 0451:80ff Texas Instruments, Inc.
   Bus 001 Device 004: ID 0557:2419 ATEN International Co., Ltd
   Bus 001 Device 002: ID 0557:7000 ATEN International Co., Ltd Hub
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  PciMultimedia:

  ProcFB: 0 astdrmfb
  ProcKernelCmdLine: root=UUID=acd1a0d7-f6fc-4130-928c-c8b11ad6e4be ro 
console=hvc0
  ProcLoadAvg: 1.24 0.89 0.66 3/1412 8319
  ProcLocks:
   1: POSIX  ADVISORY  WRITE 3876 00:17:569 0 EOF
   2: FLOCK  ADVISORY  WRITE 3556 00:17:497 0 EOF
   3: FLOCK  ADVISORY  WRITE 4090 00:17:596 0 EOF
   4: POSIX  ADVISORY  WRITE 3955 00:17:571 0 EOF
   5: POSIX  ADVISORY  WRITE 1823 00:17:348 0 EOF
  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 = 40
  cpu_coreson: Number of cores online = 40
  cpu_dscr: DSCR is 3
  cpu_freq:
   min: 2.862 GHz (cpu 159)
   max: 2.863 GHz (cpu 1)
   avg: 2.862 GHz
  cpu_runmode:
   Could not retrieve current diagnostics mode,
   No kernel interface to firmware
  cpu_smt: SMT=4

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to