Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1088815

Summary: [svvp] Debug Capability test (Logo) job should pass in order to achieve SVVP certification
Product: Red Hat Enterprise Linux 7 Reporter: Mike Cao <bcao>
Component: qemu-kvmAssignee: Yvugenfi <yvugenfi>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.0CC: akong, bcao, hhuang, jasowang, juzhang, knoel, lijin, michen, mst, peterm, rbalakri, virt-maint, vyasevic, yvugenfi
Target Milestone: rcKeywords: TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-07 02:06:43 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1113520, 1205796    
Attachments:
Description Flags
SUT guest hang when guest installed windbg at this stage
none
intel-max-debug-capacity-test hck file
none
screenshot for comment #16 none

Description Mike Cao 2014-04-17 08:52:48 UTC
Description of problem:


Version-Release number of selected component (if applicable):
3.10.0-121.el7.x86_64
qemu-kvm-rhev-1.5.3-60.el7ev.x86_64
package seabios is not installed
virtio-win-1.7.0-1.el7.noarch


How reproducible:
100%  on intel host when using -smp 64 and -m 256G

Steps to Reproduce:
1.Start Debug VM:
/usr/libexec/qemu-kvm --nodefaults --nodefconfig -m 2G -smp 2  -M pc-i440fx-rhel7.0.0 -drive file=bcao_test.raw,if=none,id=drive-virtio0-0-0,format=raw,werror=stop,rerror=stop,cache=none,serial=number -device ide-drive,drive=drive-virtio0-0-0,id=virti0-0-0,bootindex=1 -uuid 9c4468b6-72b1-4e1b-975a-45f25ce5b828 -monitor stdio -vnc :10 -vga cirrus -name amd-debug-2 -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot menu=on -rtc base=localtime,clock=host,driftfix=slew -chardev socket,id=b111a,path=/tmp/monitor-bcao-test,server,nowait -mon chardev=b111a,mode=readline -netdev tap,id=hostnet0,script=/etc/qemu-ifup1 -device e1000,netdev=hostnet0,id=net0,mac=52:54:00:00:00:01  -netdev tap,id=hostnet1,script=/etc/qemu-ifup -device e1000,netdev=hostnet1,id=net1,mac=52:54:00:20:10:03,addr=0x9 -serial tcp:0:5888,server
2.Start sut vm
/usr/libexec/qemu-kvm --nodefaults --nodefconfig -m 2G -smp 64 -cpu Nehalem,+kvm_pv_unhalt,hv_spinlocks=0x1fff,hv_relaxed,hv_vapic,hv_time -M pc-i440fx-rhel7.0.0 -usb -device usb-tablet,id=tablet0 -drive file=win2012R2-intel-max.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,script=/etc/qemu-ifup1 -device e1000,netdev=hostnet0,id=net0,mac=00:52:52:2a:88:8e,addr=0x4 -uuid 0f9dce8a-2c81-4a48-91b3-9a0bc6b6850c -monitor stdio -vnc :5 -vga cirrus -name win2012R2-INTEL-MAX -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -cdrom /usr/share/virtio-win/virtio-win.iso -fda /usr/share/virtio-win/virtio-win-1.7.0_amd64.vfd -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 -rtc base=localtime,clock=host,driftfix=slew -chardev socket,id=b111a,path=/tmp/monitor-win2012R2-intel-max,server,nowait -mon chardev=b111a,mode=readline -netdev tap,id=hostnet1,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet1,id=net1,mac=52:54:00:00:03:45,addr=0x9 -serial tcp:localhost:5888 
3.running Debug Capability test (Logo) job

Actual results:
job failed due to guest hang 

Expected results:
job pass 

Additional info:
1.We have such case on RHEL6 ,and I did not hit this issue on RHEL6
2.It passed w/ -smp 2 & -m 2G ,but not sure whether MSFT will accept ths results ,I would like to add testblocker flag first

Comment 4 Mike Cao 2014-04-17 09:24:55 UTC
Created attachment 887121 [details]
SUT guest hang when guest installed windbg at this stage

Comment 10 juzhang 2014-04-21 01:38:28 UTC
Hi Mike,

Can you reply comment9?

Best Regards,
Junyi

Comment 12 lijin 2014-04-21 06:13:39 UTC
job failed with net transport.
steps:
1.boot intel-max guest with one virtio-net-pci and one e1000:
/usr/libexec/qemu-kvm --nodefaults --nodefconfig -m 2G -smp 2 -cpu Nehalem,+kvm_pv_unhalt,hv_spinlocks=0x1fff,hv_relaxed,hv_vapic,hv_time -M pc-i440fx-rhel7.0.0 -usb -device usb-tablet,id=tablet0 -drive file=win2012R2-intel-max.raw-new,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 -uuid 80f123e0-6380-48f6-b9cb-049d1a110d2d -monitor stdio -vnc :20 -vga cirrus -name win2012R2-INTEL-MAX-new -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -cdrom /usr/share/virtio-win/virtio-win.iso -fda /usr/share/virtio-win/virtio-win-1.7.0_amd64.vfd -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 -rtc base=localtime,clock=host,driftfix=slew -chardev socket,id=b111a,path=/tmp/monitor-win2012R2-intel-max,server,nowait -mon chardev=b111a,mode=readline -netdev tap,id=hostnet1,vhost=on,script=/etc/qemu-ifup1 -device virtio-net-pci,netdev=hostnet1,id=net1,mac=00:52:52:2a:28:5f,addr=0x6 -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup1 -device e1000,netdev=hostnet0,id=net0,mac=00:52:52:2a:22:3f,addr=0x7

2.boot debug machine with one e1000:
/usr/libexec/qemu-kvm --nodefaults --nodefconfig -m 4G -smp 4 -cpu Opteron_G3,+kvm_pv_unhalt,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time -M pc-i440fx-rhel7.0.0 -usb -device usb-tablet,id=tablet0 -drive file=debug-amd.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 -uuid d04887dd-6a55-4c5f-b9d3-dc76759edd37 -monitor stdio -vnc :6 -vga cirrus -name amd-debug -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot menu=on -rtc base=localtime,clock=host,driftfix=slew -chardev socket,id=b111a,path=/tmp/monitor-win2012R2-amd-max,server,nowait -mon chardev=b111a,mode=readline -netdev tap,id=hostnet1,script=/etc/qemu-ifup1 -device e1000,netdev=hostnet1,id=net1,mac=00:52:56:2a:42:2e,addr=0x07

3.submit the job with:
BusParams  0.7.0  
NetHostIP  192.168.1.195  ---> debug machine ip
NetKey  this.key.isnt.secure  
NetPort  50000
Transport  net

Actual result:
Job failed at child job "vefify debug configuration";
error message:System.Exception: Kernel debugging over the network fails due to the non-supported NIC 0.For a list of supported NICs please visit http://go.microsoft.com/fwlink/?LinkID=230754 or run the test from another debug connection. at KernelDebugLogoTestSetup.DebugSetupVerifier.DebugSetupVerify()

Expected result:
job can pass,no error

Note:
boot intel-max guest with two e1000,job also failed.

Comment 13 lijin 2014-04-21 07:14:06 UTC
mount these two images on rhel6 host,then run the job,job can pass easily.

Comment 14 lijin 2014-04-21 07:15:23 UTC
(In reply to lijin from comment #13)
> mount these two images on rhel6 host,then run the job,job can pass easily.

also with net protocol,steps same as comment #12

Comment 15 Mike Cao 2014-04-21 07:18:19 UTC
Yan ,according to comment #13 ,it seems another bug that HCK can not detect emulated e1000 card device ID as 100E ,Do we need to open a new bug to track it ?

Comment 16 lijin 2014-04-21 07:58:58 UTC
rerun this job on rhel7 host with -M rhel6.5.0,job still failed,but has different error message:
System.Exception: Kernel debugging over the network fails due to InitializeNetwork failed to get the ethernet address of the host debugger. error code -1073741643.Please address the problem or run the test from another debug connection. at KernelDebugLogoTestSetup.DebugSetupVerifier.DebugSetupVerify()

e1000 of SUT ***CANNOT*** get ip after the first reboot during job running,after the second reboot,everything get normal,both virtio-net-pci and e1000 can get ip.

I will upload the log file ASAP

Comment 17 lijin 2014-04-21 07:59:55 UTC
Created attachment 888028 [details]
intel-max-debug-capacity-test hck file

Comment 18 Mike Cao 2014-04-21 08:11:03 UTC
Created attachment 888029 [details]
screenshot for comment #16

Comment 20 lijin 2014-04-22 05:42:50 UTC
(In reply to lijin from comment #16)
> rerun this job on rhel7 host with -M rhel6.5.0,job still failed,but has
> different error message:
> System.Exception: Kernel debugging over the network fails due to
> InitializeNetwork failed to get the ethernet address of the host debugger.
> error code -1073741643.Please address the problem or run the test from
> another debug connection. at
> KernelDebugLogoTestSetup.DebugSetupVerifier.DebugSetupVerify()
> 
> e1000 of SUT ***CANNOT*** get ip after the first reboot during job
> running,after the second reboot,everything get normal,both virtio-net-pci
> and e1000 can get ip.

the detailed network info:
on RHEL7 host:
ipconfig of e1000:192.168.1.29/255.255.255.0/192.168.1.1(gw)
after first reboot during job running
ipconfig of e1000:169.254.241.190/255.255.0.0/null
job failed

on RHEL6 host:
ipconfig of e1000:192.168.1.29/255.255.255.0/192.168.1.1(gw)
after first reboot during job running
ipconfig of e1000:192.168.1.29/255.255.255.0/192.168.1.1
job passed

> I will upload the log file ASAP

Comment 21 Ronen Hod 2014-04-22 08:29:52 UTC
(In reply to Mike Cao from comment #15)
> Yan ,according to comment #13 ,it seems another bug that HCK can not detect
> emulated e1000 card device ID as 100E ,Do we need to open a new bug to track
> it ?

Mike, Please open a new bug for this, and assign to akong. Thanks.

Comment 25 Ronen Hod 2014-04-28 13:03:02 UTC
(In reply to Mike Cao from comment #0)
> 2.It passed w/ -smp 2 & -m 2G ,but not sure whether MSFT will accept ths
> results ,I would like to add testblocker flag first

Mike,
Did you contact MSFT?

Comment 41 Mike Cao 2015-04-07 02:06:43 UTC
After further research the root cause is the hosts in china lab does not permit external access. the workaround is to add _NT_SYMBOL_PROXY and _NT_SYMBOL_PATH to envir variable. it can pass although not 100% 

Close this bug based on above