Bug 1010628

Summary: [whql][balloon]job "Device Install Check for System File Consistency(certification)" always failed on win8-64 guest
Product: Red Hat Enterprise Linux 7 Reporter: lijin <lijin>
Component: virtio-winAssignee: Vadim Rozenfeld <vrozenfe>
Status: CLOSED WORKSFORME QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0CC: acathrow, bcao, bsarathy, hhuang, lijin, michen, rhod, virt-maint, vrozenfe
Target Milestone: rc   
Target Release: 7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-06 02:50:20 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
setupapi log
none
setupapi log in another guest none

Description lijin 2013-09-22 06:33:01 UTC
Created attachment 801102 [details]
win8-64-balloon-70 hck log

Description of problem:
job "Device Install Check for System File Consistency(certification)" always failed on win8-64 guest

Version-Release number of selected component (if applicable):
kernel-2.6.32-414.el6.x86_64   
qemu-kvm-rhev-0.12.1.2-2.397.el6.x86_64
virtio-win-prewhql-0.1-70
spice-server-0.12.4-2.el6.x86_64
seabios-0.6.1.2-28.el6.x86_64
vgabios-0.6b-3.7.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1.boot a win8-guest with following command:
N_REPEAT=1 ;
while true;
do date;
sleep 2;
echo "test round: $N_REPEAT" ;
N_REPEAT=$(($N_REPEAT+1)) &&
/usr/libexec/qemu-kvm \
-m 2G \
-smp 8,cores=8 \
-cpu cpu64-rhel6,+x2apic \
-usb \
-device usb-tablet \
-drive file=win8-64.raw,format=raw,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none \
-device ide-drive,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
-netdev tap,sndbuf=0,id=hostnet2,script=/etc/qemu-ifup,downscript=no \
-device e1000,netdev=hostnet2,mac=00:52:32:40:f2:10,bus=pci.0,addr=0x6 \
-uuid 7aa2ee19-60b3-4ab3-9e52-224c8e4f57e9 \
-rtc-td-hack \
-no-kvm-pit-reinjection \
-rtc base=localtime,clock=host,driftfix=slew \
-chardev socket,id=111a,path=/tmp/monitor-win8-64-balloon-70,server,nowait \
-mon chardev=111a,mode=readline \
-vnc :2 \
-vga cirrus \
-chardev socket,id=channel0,path=/tmp/tt,server,nowait \
-device virtio-balloon-pci,id=balloon0 \
-name win8-64-balloon-70-HCK \
-global PIIX4_PM.disable_s3=0 \
-global PIIX4_PM.disable_s4=0 \
-monitor stdio
done

2.submit job in HCK

Actual results:
this job always failed

Expected results:
job can pass

Additional info:
attachment is the hck log file

Comment 2 Ronen Hod 2013-09-22 08:01:45 UTC
In a mail.

Mike wrote:
Someone else complains it in committee referring to
http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/65066a48-54d5-479f-aaf3-65dfdfeae7c6/device-install-check-for-file-system-consistency-fails-on-windows-8-x64?prof=required

Vadim wrote:
Yes I see, there is SFCLibrary  failed with code 259
I'll try to look into the problem.

Comment 3 Vadim Rozenfeld 2013-09-22 08:36:09 UTC
hi mike,
Could you please share setup log file?
Thanks,
Vadim.

Comment 5 lijin 2013-09-22 10:38:36 UTC
Created attachment 801155 [details]
setupapi log

Comment 6 Vadim Rozenfeld 2013-09-22 11:17:18 UTC
It will be very halpful to see setupapi.dev.log related to
hckx file from https://bugzilla.redhat.com/attachment.cgi?id=801102

Thanks,
Vadim.

Comment 7 lijin 2013-09-22 11:27:13 UTC
(In reply to Vadim Rozenfeld from comment #6)
> It will be very halpful to see setupapi.dev.log related to
> hckx file from https://bugzilla.redhat.com/attachment.cgi?id=801102
> 
> Thanks,
> Vadim.

Hi Vadim
  This time is strange,I didnot find the setupapi.dev.log file in the guest,only the setupapi.setup.log.

Comment 8 Vadim Rozenfeld 2013-09-22 12:19:17 UTC
(In reply to lijin from comment #7)
> (In reply to Vadim Rozenfeld from comment #6)
> > It will be very halpful to see setupapi.dev.log related to
> > hckx file from https://bugzilla.redhat.com/attachment.cgi?id=801102
> > 
> > Thanks,
> > Vadim.
> 
> Hi Vadim
>   This time is strange,I didnot find the setupapi.dev.log file in the
> guest,only the setupapi.setup.log.

Strange, it must be in the same directory as setupapi.setup.log - "c:\Windows\inf".

Comment 9 lijin 2013-09-23 01:41:17 UTC
Created attachment 801457 [details]
setupapi log in another guest

Comment 13 Mike Cao 2014-01-06 02:50:20 UTC
(In reply to Ronen Hod from comment #12)
> Mike,
> Where do we stand with this issue?

Sorry for forgot to update the status.
It is a guest image issue , following steps can workaround it 

steps:
exec  # Dism /Online /Cleanup-Image /RestoreHealth  ,then reboot your SUT before the job start 

lijin, pls mark it in somewhere 

Mike

Comment 14 lijin 2014-01-06 03:11:43 UTC
(In reply to Mike Cao from comment #13)
> (In reply to Ronen Hod from comment #12)
> > Mike,
> > Where do we stand with this issue?
> 
> Sorry for forgot to update the status.
> It is a guest image issue , following steps can workaround it 
> 
> steps:
> exec  # Dism /Online /Cleanup-Image /RestoreHealth  ,then reboot your SUT
> before the job start 
> 
> lijin, pls mark it in somewhere 
> 
> Mike

Mark it in mojo document:https://mojo.redhat.com/docs/DOC-932910