Bug 1387061

Summary: [svvp][ws2016] job "debug capability test(logo)" fail when use kernel-3.10.0-513.el7.x86_64 on amd host
Product: Red Hat Enterprise Linux 7 Reporter: Yu Wang <wyu>
Component: virtio-winAssignee: Amnon Ilan <ailan>
virtio-win sub component: virtio-win-prewhql QA Contact: Virtualization Bugs <virt-bugs>
Status: CLOSED WORKSFORME Docs Contact:
Severity: high    
Priority: high CC: areis, knoel, msnitzer, virt-maint, vrozenfe, wyu, yvugenfi
Version: 7.3   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-24 13:17:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
debug_vm_fail none

Description Yu Wang 2016-10-20 02:16:20 UTC
Created attachment 1212293 [details]
debug_vm_fail

Description of problem:

report this bug on qemu-kvm-rhev for temporary, pls feel free to change to the right component.
job "debug capability test(logo)" fail when use kernel-3.10.0-513.el7.x86_64 on amd host

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. boot debug vm :
screen /usr/libexec/qemu-kvm -boot menu=on --nodefaults --nodefconfig -m 256G -smp 64 -cpu Westmere,+kvm_pv_unhalt,hv_spinlocks=0x1fff,hv_relaxed,hv_vapic,hv_time -uuid e2600f5f-60b4-45ad-9140-083a28d6dcce -smbios type=1,manufacturer='Red Hat,product=Red Hat Enterprise OpenStack and Red Hat Enterprise Linux with Virtualization',version=7Server-0.3,serial='44454C4C-5700-1058-804B-B7 C04 F483258_00:21:9b:58:48:68',uuid=37141891-5f0a-4af0-ad41-5c810417482b -usb -device usb-tablet,id=tablet0 -drive file=win2016-intel-ga.raw,if=none,id=drive-virtio0-0-0,format=raw,werror=stop,rerror=stop,cache=none,serial=number -device virtio-blk-pci,drive=drive-virtio0-0-0,id=virti0-0-0,bootindex=1 -netdev tap,id=hostnet0,vhost=on,queues=4,script=/etc/qemu-ifup1 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:52:52:2a:48:58,addr=0x08,mq=on,vectors=10 -uuid 5ef48da3-6362-4e15-a6a3-431ba24ce86d -monitor stdio -name win2016-INTEL-GA -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -boot menu=on -device usb-ehci,id=ehci0 -drive file=usb-storage-intel-max.raw,if=none,id=drive-usb-2-0,media=disk,format=raw,cache=none,werror=stop,rerror=stop,aio=threads -device usb-storage,bus=ehci0.0,drive=drive-usb-2-0,id=usb-2-0,removable=on -chardev socket,id=b111a,path=/tmp/monitor-win2016-intel-ga,server,nowait -mon chardev=b111a,mode=readline -rtc base=localtime,clock=host,driftfix=slew \
-vnc :10 -vga cirrus \
-serial tcp:192.168.0.4:4444 \

2.boot sut
/usr/libexec/qemu-kvm -boot menu=on --nodefaults --nodefconfig -m 256G -smp 64 -cpu Westmere,+kvm_pv_unhalt,hv_spinlocks=0x1fff,hv_relaxed,hv_vapic,hv_time -uuid e2600f5f-60b4-45ad-9140-083a28d6dcce -smbios type=1,manufacturer=Red Hat,product=Red Hat Enterprise OpenStack and Red Hat Enterprise Linux with Virtualization,version=7Server-0.3,serial=44454C4C-5700-1058-804B-B7 C04 F483258_00:21:9b:58:48:68,uuid=37141891-5f0a-4af0-ad41-5c810417482b -usb -device usb-tablet,id=tablet0 -object iothread,id=thread0 -drive file=win2016-intel-ga.raw,if=none,id=drive-virtio0-0-0,format=raw,werror=stop,rerror=stop,cache=none,serial=number -device virtio-blk-pci,iothread=thread0,drive=drive-virtio0-0-0,id=virti0-0-0,bootindex=1 -netdev tap,id=hostnet0,vhost=on,queues=4,script=/etc/qemu-ifup1 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:52:52:2a:48:58,addr=0x08,mq=on,vectors=10 -uuid 5ef48da3-6362-4e15-a6a3-431ba24ce86d -monitor stdio -name win2016-INTEL-GA -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -boot menu=on -device usb-ehci,id=ehci0 -drive file=usb-storage-intel-max.raw,if=none,id=drive-usb-2-0,media=disk,format=raw,cache=none,werror=stop,rerror=stop,aio=threads -device usb-storage,bus=ehci0.0,drive=drive-usb-2-0,id=usb-2-0,removable=on -chardev socket,id=b111a,path=/tmp/monitor-win2016-intel-ga,server,nowait -mon chardev=b111a,mode=readline -rtc base=localtime,clock=host,driftfix=slew -netdev tap,id=hostnet1,script=/etc/qemu-ifup -device e1000,netdev=hostnet1,id=net1,mac=00:52:4c:44:2e:d8 -spice disable-ticketing,port=5910 -vga qxl -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0


3. modify parameter in hlk
4 run job "debug capability test(logo)"

Actual results:
failed as screen shot(attachment)

Expected results:
Pass

Additional info:

1 did not hit this issue on intel host
2 it can pass when host kernel is kernel-3.10.0-512.el7.x86_64
3 can pass this job w/ 4 vcpus and 4G mem
4 cpu info
processor	: 63
vendor_id	: AuthenticAMD
cpu family	: 21
model		: 1
model name	: AMD Opteron(TM) Processor 6272
stepping	: 2
microcode	: 0x600063d
cpu MHz		: 2094.866
cache size	: 2048 KB
physical id	: 3
siblings	: 16
core id		: 7
cpu cores	: 8
apicid		: 143
initial apicid	: 111
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc art rep_good nopl nonstop_tsc extd_apicid amd_dcm aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
bogomips	: 4189.06
TLB size	: 1536 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate cpb

Comment 1 Yu Wang 2016-10-20 02:20:26 UTC
Additional info:

Version-Release number of selected component (if applicable):
kernel-tools-3.10.0-513.el7.x86_64
qemu-kvm-1.5.3-126.el7.x86_64
seabios-1.9.1-5.el7.x86_64

How reproducible:
4/4

Comment 3 Yvugenfi@redhat.com 2016-10-20 07:09:37 UTC
Looks like timeout to download the symbols.

Can you pre-install the symbols?

https://developer.microsoft.com/en-us/windows/hardware/download-symbols

And set _NT_SYMBOL_PATH to local installation and MS symbols server as well:
https://msdn.microsoft.com/en-us/library/windows/hardware/ff558829(v=vs.85).aspx

Comment 4 Yu Wang 2016-10-20 08:11:46 UTC
Hi Yan,

(In reply to Yan Vugenfirer from comment #3)
> Looks like timeout to download the symbols.
> 
> Can you pre-install the symbols?
> 
> https://developer.microsoft.com/en-us/windows/hardware/download-symbols
> 
> And set _NT_SYMBOL_PATH to local installation and MS symbols server as well:
> https://msdn.microsoft.com/en-us/library/windows/hardware/ff558829(v=vs.85).
> aspx

I tested with this method all the time. And as comment#0 additional info:
1 did not hit this issue on intel host
2 it can pass when host kernel is kernel-3.10.0-512.el7.x86_64
3 can pass this job w/ 4 vcpus and 4G mem

Thanks
Yu Wang

Comment 5 Vadim Rozenfeld 2016-10-20 08:24:24 UTC
Do we have a log file for this test?
Best regards,
Vadim.

Comment 6 Yu Wang 2016-10-20 08:55:28 UTC
(In reply to Vadim Rozenfeld from comment #5)
> Do we have a log file for this test?
> Best regards,
> Vadim.

Hi Vadim.

You can see the attachment for the error, the log will be updated later.

Thanks
Yu Wang