------- Comment From bssrika...@in.ibm.com 2018-05-08 04:22 EDT-------
(In reply to comment #31)
> ppc64el versions of the Xenial test kernel are now available here:
>
> http://kernel.ubuntu.com/~jsalisbury/lp1762928/xenial
>
> Xenial required the following two prereq commits:
> d96f234f47af ("powerpc: Avoid load hit store in setup_sigcontext()")
> d11994314b2b ("powerpc: signals: Stop using current in signal code")

Test results:

selftests: tm-resched-dscr
========================================
test: tm_resched_dscr
tags: git_version:f142f08
Binding to cpu 8
main test running as pid 4949
Check DSCR TM context switch:  OK
success: tm_resched_dscr
ok 1..1 selftests: tm-resched-dscr [PASS]
selftests: tm-syscall
========================================
test: tm_syscall
tags: git_version:f142f08
Testing transactional syscalls for 10 seconds...
5799695 active and suspended transactions behaved correctly.
(There were 1666 transaction retries.)
success: tm_syscall
ok 1..2 selftests: tm-syscall [PASS]
selftests: tm-signal-msr-resv
========================================
test: tm_signal_msr_resv
tags: git_version:f142f08
success: tm_signal_msr_resv
ok 1..3 selftests: tm-signal-msr-resv [PASS]
selftests: tm-signal-stack
========================================
test: tm_signal_stack
tags: git_version:f142f08
success: tm_signal_stack
ok 1..4 selftests: tm-signal-stack [PASS]
selftests: tm-vmxcopy
========================================
test: tm_vmxcopy
tags: git_version:f142f08
success: tm_vmxcopy
ok 1..5 selftests: tm-vmxcopy [PASS]
selftests: tm-fork
========================================
test: tm_fork
tags: git_version:f142f08
success: tm_fork
ok 1..6 selftests: tm-fork [PASS]
selftests: tm-tar
========================================
Starting, 10000 loops
test: tm_tar
tags: git_version:f142f08
success: tm_tar
ok 1..7 selftests: tm-tar [PASS]
selftests: tm-tmspr
========================================
test: tm_tmspr
tags: git_version:f142f08
success: tm_tmspr
ok 1..8 selftests: tm-tmspr [PASS]
selftests: tm-vmx-unavail
========================================
test: tm_vmx_unavail_test
tags: git_version:f142f08
success: tm_vmx_unavail_test
ok 1..9 selftests: tm-vmx-unavail [PASS]
selftests: tm-unavailable
========================================
test: tm_unavailable_test
tags: git_version:f142f08
Checking if FP/VEC registers are sane after a FP unavailable exception...
If MSR.FP=0 MSR.VEC=0: FP ok VEC ok
If MSR.FP=1 MSR.VEC=0: FP ok VEC ok
If MSR.FP=0 MSR.VEC=1: FP ok VEC ok
If MSR.FP=1 MSR.VEC=1: FP ok VEC ok
Checking if FP/VEC registers are sane after a VEC unavailable exception...
If MSR.FP=0 MSR.VEC=0: FP ok VEC ok
If MSR.FP=1 MSR.VEC=0: FP ok VEC ok
If MSR.FP=0 MSR.VEC=1: FP ok VEC ok
If MSR.FP=1 MSR.VEC=1: FP ok VEC ok
Checking if FP/VEC registers are sane after a VSX unavailable exception...
If MSR.FP=0 MSR.VEC=0: FP ok VEC ok
If MSR.FP=1 MSR.VEC=0: FP ok VEC ok
If MSR.FP=0 MSR.VEC=1: FP ok VEC ok
If MSR.FP=1 MSR.VEC=1: FP ok VEC ok
result: success
success: tm_unavailable_test
ok 1..10 selftests: tm-unavailable [PASS]
selftests: tm-trap
========================================
test: tm_trap_test
tags: git_version:f142f08
Little-Endian machine detected. Checking if endianness flips inadvertently on 
trap in TM... no.
success: tm_trap_test
ok 1..11 selftests: tm-trap [PASS]
selftests: tm-signal-context-chk-gpr
========================================
test: tm_signal_context_chk_gpr
tags: git_version:f142f08
success: tm_signal_context_chk_gpr
ok 1..12 selftests: tm-signal-context-chk-gpr [PASS]
selftests: tm-signal-context-chk-fpu
========================================
test: tm_signal_context_chk_fpu
tags: git_version:f142f08
success: tm_signal_context_chk_fpu
ok 1..13 selftests: tm-signal-context-chk-fpu [PASS]
selftests: tm-signal-context-chk-vmx
========================================
test: tm_signal_context_chk_vmx
tags: git_version:f142f08
success: tm_signal_context_chk_vmx
ok 1..14 selftests: tm-signal-context-chk-vmx [PASS]
selftests: tm-signal-context-chk-vsx
========================================
test: tm_signal_context_chk_vsx
tags: git_version:f142f08
success: tm_signal_context_chk_vsx
ok 1..15 selftests: tm-signal-context-chk-vsx [PASS]
selftests: tm-sigreturn
========================================
test: tm_sigreturn
tags: git_version:f142f08
!! child died by signal 6
failure: tm_sigreturn
not ok 1..16 selftests:  tm-sigreturn [FAIL]

we are seeing new failure 'tm_sigreturn' in Xenial .. where as tm_trap
is a PASS...

-- 
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/1762928

Title:
  [LTC Test] Ubuntu 18.04: tm_trap_test failed on P8 compat mode guest

Status in The Ubuntu-power-systems project:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Xenial:
  In Progress
Status in linux source package in Artful:
  In Progress
Status in linux source package in Bionic:
  Fix Released

Bug description:
  ---Problem Description---
  tm_trap_test failed on P8 compat mode [16.04.04 daily build as well bionic ] 
guests on a P9 host running bionic final beta version.
   
  Contact Information = srikanth/bssrika...@in.ibm.com 
   
  ---uname output---

  16.04.04 Guest running in P8compat mode:

  Linux guest 4.15.0-15-generic #16~16.04.1-Ubuntu SMP Thu Apr 5 12:18:22 UTC 
2018 ppc64le ppc64le ppc64le GNU/Linux
   
  18.04 guest running in P8compat mode:
  Linux ubuntu 4.15.0-15-generic #16-Ubuntu SMP Wed Apr 4 13:57:51 UTC 2018 
ppc64le ppc64le ppc64le GNU/Linux

  Machine Type = boston-LC 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   1. Log into P9 Ubuntu 18.04 host, take console of guest 
`srikanth_ubuntu160404`
  2. Run TM selftests
  git clone --depth 1 https://github.com/torvalds/linux.git;cd 
linux/tools/testing/selftests/powerpc/;git log --oneline -1;make;make -C tm 
run_tests

  We will observe one of the tm tests failing, mentioned below:

  selftests: tm-trap
  ========================================
  test: tm_trap_test
  tags: git_version:c18bb39
  Little-Endian machine detected. Checking if endianness flips inadvertently on 
trap in TM... yes!
  failure: tm_trap_test
  not ok 1..11 selftests:  tm-trap [FAIL]

  
  Expected result: All tm selftests should have been pass on the P8 compat 
guest.. giventhat we had TM workaround patches in latest Ubuntu BIONIC host 
kernel
   
  Stack trace output:
   no
   
  Oops output:
   no
   
  System Dump Info:
    The system is not configured to capture a system dump.
   
  *Additional Instructions for srikanth/bssrika...@in.ibm.com: 
  -Attach sysctl -a output output to the bug.


  == Comment: #2 - SRIKANTH AITHAL <bssrika...@in.ibm.com> - 2018-04-10
  01:32:00 ==

  
  == Comment: #3 - SRIKANTH AITHAL <bssrika...@in.ibm.com> - 2018-04-10 
01:33:41 ==

  
  == Comment: #4 - SRIKANTH AITHAL <bssrika...@in.ibm.com> - 2018-04-10 
01:34:02 ==

  
  Please pick 

   `1c200e63d055 ("powerpc/tm: Fix endianness flip on trap")`

  ie. the commit that the test was written for

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1762928/+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