Comment 14 for bug 1708130

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2017-09-04 13:26 EDT-------
Hi Mauricio,

Started Leaf IO and BASE(without smt tests)and then tried to change the SMT value using test script and ppc64 command hangs after few hours of regression run.

> root@lotkvm:/kte/tools/setup.d# show.report.py
HOSTNAME KERNEL VERSION DISTRO INFO
-------- ------------------ -----------
lotkvm 4.10.0-330-generic Ubuntu 16.04.3 LTS \n \l

######## Current Time: Mon Sep 4 07:53:05 2017 ########
Job-ID FOCUS Start-Time Duration Function
------ ----- ---------- -------- --------
2 IO 20170904-06:36:31 1.0 hr(s) 16.0 min(s) IO_Focus
3 BASE 20170904-07:52:20 0.0 hr(s) 0.0 min(s) Test

FOCUS IO BASE SUM
TOTAL 774 6 780
FAIL 0 2 2
PASS 774 4 778
(%) (100%) (66%) (99%)

> Used below test script from the path lotkvm:/home/smtchange.sh to change SMT value periodically

[ipjoga@kte tmp]$ cat smt*
#!/bin/bash

while true
do ppc64_cpu --smt=2
echo "SMT changed to 2"
date
sleep 240
ppc64_cpu --smt=4
echo "SMT changed to 4"
date
sleep 240
ppc64_cpu --smt=8
echo "SMT changed to 8"
date
sleep 240
ppc64_cpu --smt=off
echo "SMT changed to off"
date
sleep 240
done

root@lotkvm:/home# nohup ./smtchange.sh &
[1] 4604
root@lotkvm:/home# nohup: ignoring input and appending output to 'nohup.out'

> Run went fine for few hours like 3 - 4 hours but after that seen ppc64 command hangs as below from the log

root@lotkvm:/home# cat nohup.out
SMT changed to 2
Mon Sep 4 07:54:02 CDT 2017
SMT changed to 4
Mon Sep 4 07:58:06 CDT 2017
SMT changed to 8
Mon Sep 4 08:02:16 CDT 2017
SMT changed to off
Mon Sep 4 08:06:39 CDT 2017
SMT changed to 2
Mon Sep 4 08:10:40 CDT 2017
SMT changed to 4
Mon Sep 4 08:14:47 CDT 2017
SMT changed to 8
Mon Sep 4 08:18:56 CDT 2017
SMT changed to off
Mon Sep 4 08:23:19 CDT 2017
SMT changed to 2
Mon Sep 4 08:27:22 CDT 2017
SMT changed to 4
Mon Sep 4 08:31:26 CDT 2017
SMT changed to 8
Mon Sep 4 08:35:36 CDT 2017
SMT changed to off
Mon Sep 4 08:39:58 CDT 2017
SMT changed to 2
Mon Sep 4 08:44:02 CDT 2017
SMT changed to 4
Mon Sep 4 08:48:07 CDT 2017
SMT changed to 8
Mon Sep 4 08:52:17 CDT 2017
SMT changed to off
Mon Sep 4 08:56:40 CDT 2017
SMT changed to 2
Mon Sep 4 09:00:42 CDT 2017
SMT changed to 4
Mon Sep 4 09:04:47 CDT 2017
SMT changed to 8
Mon Sep 4 09:09:02 CDT 2017
SMT changed to off
Mon Sep 4 09:13:26 CDT 2017
SMT changed to 2
Mon Sep 4 09:17:29 CDT 2017
SMT changed to 4
Mon Sep 4 09:21:37 CDT 2017
SMT changed to 8
Mon Sep 4 09:25:46 CDT 2017
SMT changed to off
Mon Sep 4 09:30:07 CDT 2017
SMT changed to 2
Mon Sep 4 09:34:09 CDT 2017
SMT changed to 4
Mon Sep 4 09:38:27 CDT 2017
SMT changed to 8
Mon Sep 4 09:42:42 CDT 2017

root@lotkvm:~# date
Mon Sep 4 12:03:28 CDT 2017

root@lotkvm:/home# ppc64_cpu --smt

^Z^X^C

root@lotkvm:/home# ps -ef | grep ppc64*

>root@lotkvm:~# uname -a
Linux lotkvm 4.10.0-330-generic #37~16.04.1+bz156441 SMP Wed Aug 16 17:45:59 CDT 2017 ppc64le ppc64le ppc64le GNU/Linux
root@lotkvm:~# uname -r
4.10.0-330-generic

> System is available for debugging

> Trying to get dmesg logs as console hangs after running ppc64 command

Regards,
Indira