← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2032641] Re: kernel_selftests failures on kernel-P10d-LPAR10.ppc64el.10

 

** Description changed:

+ [Impact]
+ The powerpc tests from kernel selftests were unable to finish properly
+ on Power10 VM with Focal 5.4 kernel. There will be lots of failures for
+ powerpc/ptrace and powerpc/tm tests. For example the ptrace-tm-gpr:
+   # selftests: powerpc/ptrace: ptrace-tm-gpr
+   # test: ptrace_tm_gpr
+   # tags: git_version:unknown
+   # [FAIL] Test FAILED on line 94
+   # GPR[14]: 1 Expected: 2
+   # GPR[15]: 1 Expected: 2
+   # GPR[16]: 1 Expected: 2
+   # GPR[17]: 1 Expected: 2
+   # GPR[18]: 1 Expected: 2
+   # GPR[19]: 1 Expected: 2
+   # GPR[20]: 1 Expected: 2
+   # GPR[21]: 1 Expected: 2
+   # GPR[22]: 1 Expected: 2
+   # GPR[23]: 1 Expected: 2
+   # GPR[24]: 1 Expected: 2
+   # GPR[25]: 1 Expected: 2
+   # GPR[26]: 1 Expected: 2
+   # GPR[27]: 1 Expected: 2
+   # GPR[28]: 1 Expected: 2
+   # GPR[29]: 1 Expected: 2
+   # GPR[30]: 1 Expected: 2
+   # GPR[31]: 1 Expected: 2
+   # failure: ptrace_tm_gpr
+   not ok 1 selftests: powerpc/ptrace: ptrace-tm-gpr # exit=1
+ 
+ [Fix]
+ * 031fd80f87 selftests: Skip TM tests on synthetic TM implementations
+ 
+ This patch has already landed on Jammy+. Only Focal will need this
+ patch. And it needs to be backported to skip tm-signal-pagefault.c
+ which does not exist on Focal tree.
+ 
+ [Test Plan]
+ Run the patched powerpc tests from kernel selftests:
+   $ sudo make TARGETS=powerpc run_tests
+ 
+ Previously failing powerpc/ptrace and powerpc/tm tests will be skipped.
+ For example the ptrace-tm-gpr test:
+   # selftests: powerpc/ptrace: ptrace-tm-gpr
+   # test: ptrace_tm_gpr
+   # tags: git_version:b315960-dirty
+   # [SKIP] Test skipped on line 116
+   # skip: ptrace_tm_gpr
+   ok 2 selftests: powerpc/ptrace: ptrace-tm-gpr
+ 
+ [Where problems could occur]
+ Change limited to testing tools, and it's just skipping unsuitable
+ tests for specific architecture, no impact to real kernel functions.
+ 
+ 
+ == Original Bug Report ==
  First time seen on cycle 2023.08.10 because it was the first time we tested this instance.
  Tried previous focal version (5.4.09-156) and it seems it's happened before.
  
  The following tests are failing:
-  * powerpc/ptrace:ptrace-tm-gpr	FAIL
-  * powerpc/ptrace:ptrace-tm-spd-gpr	FAIL
-  * powerpc/ptrace:ptrace-tm-tar	timeout
-  * powerpc/ptrace:ptrace-tm-spd-tar	timeout
-  * powerpc/ptrace:ptrace-tm-vsx	timeout
-  * powerpc/ptrace:ptrace-tm-spd-vsx	timeout
-  * powerpc/ptrace:ptrace-tm-spr	timeout
+  * powerpc/ptrace:ptrace-tm-gpr	FAIL
+  * powerpc/ptrace:ptrace-tm-spd-gpr	FAIL
+  * powerpc/ptrace:ptrace-tm-tar	timeout
+  * powerpc/ptrace:ptrace-tm-spd-tar	timeout
+  * powerpc/ptrace:ptrace-tm-vsx	timeout
+  * powerpc/ptrace:ptrace-tm-spd-vsx	timeout
+  * powerpc/ptrace:ptrace-tm-spr	timeout

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2032641

Title:
  kernel_selftests failures on kernel-P10d-LPAR10.ppc64el.10

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

Bug description:
  [Impact]
  The powerpc tests from kernel selftests were unable to finish properly
  on Power10 VM with Focal 5.4 kernel. There will be lots of failures for
  powerpc/ptrace and powerpc/tm tests. For example the ptrace-tm-gpr:
    # selftests: powerpc/ptrace: ptrace-tm-gpr
    # test: ptrace_tm_gpr
    # tags: git_version:unknown
    # [FAIL] Test FAILED on line 94
    # GPR[14]: 1 Expected: 2
    # GPR[15]: 1 Expected: 2
    # GPR[16]: 1 Expected: 2
    # GPR[17]: 1 Expected: 2
    # GPR[18]: 1 Expected: 2
    # GPR[19]: 1 Expected: 2
    # GPR[20]: 1 Expected: 2
    # GPR[21]: 1 Expected: 2
    # GPR[22]: 1 Expected: 2
    # GPR[23]: 1 Expected: 2
    # GPR[24]: 1 Expected: 2
    # GPR[25]: 1 Expected: 2
    # GPR[26]: 1 Expected: 2
    # GPR[27]: 1 Expected: 2
    # GPR[28]: 1 Expected: 2
    # GPR[29]: 1 Expected: 2
    # GPR[30]: 1 Expected: 2
    # GPR[31]: 1 Expected: 2
    # failure: ptrace_tm_gpr
    not ok 1 selftests: powerpc/ptrace: ptrace-tm-gpr # exit=1

  [Fix]
  * 031fd80f87 selftests: Skip TM tests on synthetic TM implementations

  This patch has already landed on Jammy+. Only Focal will need this
  patch. And it needs to be backported to skip changes on the
  tm-signal-pagefault.c test, which does not exist on Focal tree.

  [Test Plan]
  Run the patched powerpc tests from kernel selftests:
    $ sudo make TARGETS=powerpc run_tests

  Previously failing powerpc/ptrace and powerpc/tm tests will be skipped.
  For example the ptrace-tm-gpr test:
    # selftests: powerpc/ptrace: ptrace-tm-gpr
    # test: ptrace_tm_gpr
    # tags: git_version:b315960-dirty
    # [SKIP] Test skipped on line 116
    # skip: ptrace_tm_gpr
    ok 2 selftests: powerpc/ptrace: ptrace-tm-gpr

  [Where problems could occur]
  Change limited to testing tools, and it's just skipping unsuitable
  tests for specific architecture, no impact to real kernel functions.

  == Original Bug Report ==
  First time seen on cycle 2023.08.10 because it was the first time we tested this instance.
  Tried previous focal version (5.4.09-156) and it seems it's happened before.

  The following tests are failing:
   * powerpc/ptrace:ptrace-tm-gpr	FAIL
   * powerpc/ptrace:ptrace-tm-spd-gpr	FAIL
   * powerpc/ptrace:ptrace-tm-tar	timeout
   * powerpc/ptrace:ptrace-tm-spd-tar	timeout
   * powerpc/ptrace:ptrace-tm-vsx	timeout
   * powerpc/ptrace:ptrace-tm-spd-vsx	timeout
   * powerpc/ptrace:ptrace-tm-spr	timeout

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