My driver won't deploy on my virtual machine. I need help.

  • Thread starter Thread starter qpqpqpqpqp
  • Start date Start date
Q

qpqpqpqpqp

Guest
I am making a very simple and basic driver. When I try to debug and run my driver, there are deployment errors in installing components on the VM. This is what the logs say:

Name: Install Driver Test Components
Path: C:\Users\jason\AppData\Roaming\Microsoft\WDKTestInfrastructure\InfrastructureTaskGroups\Install Driver Test Components.xml
Target Computer: New Computer
Install Driver Test Components: Host Computer: DESKTOP-N3PM5VL
Install Driver Test Components: Host Architecture: x86
Install Driver Test Components: Host 64bit Operating System: True
Install Driver Test Components: Host Operating System Version: 10.0.17134.0
Install Driver Test Components: Process Administrator Privilege: False
Progress event: Current: 1, Max: 13, Message: ""
Progress event: Current: 1, Max: 13, Message: "Copying required files"
[22:18:02:527]: Copying required files
Task result status updated: Pass
[22:19:59:532]: Task "Copying required files" completed successfully
Progress event: Current: 1, Max: 13, Message: " Task "Copying required files" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 2, Max: 13, Message: "Configuring WDK Remote User Account"
[22:20:00:109]: Configuring WDK Remote User Account
Task result status updated: Pass
[22:20:00:543]: Task "Configuring WDK Remote User Account" completed successfully
Progress event: Current: 2, Max: 13, Message: " Task "Configuring WDK Remote User Account" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 3, Max: 13, Message: "Installing .NET Framework (possible reboot)"
[22:20:00:573]: Installing .NET Framework (possible reboot)
[22:20:00:578]: [Installing .NET Framework (possible reboot)] Command Line:
%SystemDrive%\DriverTest\Setup\dotNetFx40_Full_x86_x64.exe /q /norestart /log %SystemDrive%\DriverTest\Logs\DotNetInstall.log
Result file "%SystemDrive%\DriverTest\Logs\DotNetInstall*.log" could not be retrieved from the target machine. Error: An error occurred on the target machine while retrieving a file.
Error code: 123
Error message: Unable to open file 'C:\DriverTest\Logs\DotNetInstall*.log'.
Result file "%SystemDrive%\DriverTest\Logs\DotNetInstall*.html" could not be retrieved from the target machine. Error: An error occurred on the target machine while retrieving a file.
Error code: 123
Error message: Unable to open file 'C:\DriverTest\Logs\DotNetInstall*.html'.
Task result status updated: Pass
Task result status updated: Pass
[22:21:00:841]: Task "Installing .NET Framework (possible reboot)" completed successfully
Progress event: Current: 3, Max: 13, Message: " Task "Installing .NET Framework (possible reboot)" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 4, Max: 13, Message: "Installing VC Redist (x86)"
[22:21:01:244]: Installing VC Redist (x86)
[22:21:01:244]: [Installing VC Redist (x86)] Command Line:
%SystemDrive%\DriverTest\Setup\x86\vcredist_x86.exe /q /log %SystemDrive%\DriverTest\Logs\vcredist_x86.log
Task result status updated: Pass
Task result status updated: Pass
[22:21:11:186]: Task "Installing VC Redist (x86)" completed successfully
Progress event: Current: 4, Max: 13, Message: " Task "Installing VC Redist (x86)" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 5, Max: 13, Message: "Installing test automation (x86)"
[22:21:11:214]: Installing test automation (x86)
[22:21:11:214]: [Installing test automation (x86)] Command Line:
msiexec.exe /i "%SystemDrive%\DriverTest\Setup\Test Authoring and Execution Framework x86-x86_en-us.msi" /qb- KITSROOT="%ProgramFiles%\Windows Kits\10" KITTARGET=1 /l*v "%SystemDrive%\DriverTest\Logs\Test Authoring and Execution Framework x86-x86_en-us.msi_install.log"
Task result status updated: Pass
Task result status updated: Pass
[22:21:20:903]: Task "Installing test automation (x86)" completed successfully
Progress event: Current: 5, Max: 13, Message: " Task "Installing test automation (x86)" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 6, Max: 13, Message: "Installing debuggers (x86)"
[22:21:20:926]: Installing debuggers (x86)
[22:21:20:926]: [Installing debuggers (x86)] Command Line:
msiexec.exe /i "%SystemDrive%\DriverTest\Setup\x86 Debuggers And Tools-x86_en-us.msi" /qb- /l*v "%SystemDrive%\DriverTest\Logs\x86 Debuggers And Tools-x86_en-us.msi_install.log"
Task result status updated: Pass
Task result status updated: Pass
[22:21:23:988]: Task "Installing debuggers (x86)" completed successfully
Progress event: Current: 6, Max: 13, Message: " Task "Installing debuggers (x86)" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 7, Max: 13, Message: "Installing driver test framework"
[22:21:24:018]: Installing driver test framework
[22:21:24:018]: [Installing driver test framework] Command Line:
msiexec.exe /i "%SystemDrive%\DriverTest\Setup\Windows Driver Testing Framework (WDTF) Runtime Libraries-x86_en-us.msi" /qb- KITTARGET=1 /l*v "%SystemDrive%\DriverTest\Logs\Windows Driver Testing Framework (WDTF) Runtime Libraries-x86_en-us.msi_install.log"
Task result status updated: Pass
Task result status updated: Pass
[22:21:25:471]: Task "Installing driver test framework" completed successfully
Progress event: Current: 7, Max: 13, Message: " Task "Installing driver test framework" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 8, Max: 13, Message: "Registering logging components"
[22:21:25:497]: Registering logging components
[22:21:25:497]: [Registering logging components] Command Line:
regsvr32.exe /s %SystemDrive%\DriverTest\WTTLogcm.dll
Task result status updated: Pass
Task result status updated: Pass
[22:21:26:207]: Task "Registering logging components" completed successfully
Progress event: Current: 8, Max: 13, Message: " Task "Registering logging components" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 9, Max: 13, Message: "Installing TAEF service"
[22:21:26:241]: Installing TAEF service
[22:21:26:241]: [Installing TAEF service] Command Line:
C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\TAEF\X86\Wex.Services.exe /install:Te.Service
[22:21:26:357]: Task "Installing TAEF service" was aborted because an error occured on the target machine during execution.
An error occurred on the target machine while executing a process.
Error code: 3
Error message: Unable to start process
Progress event: Current: 9, Max: 13, Message: " Task "Installing TAEF service" was aborted because an error occured on the target machine during execution.
An error occurred on the target machine while executing a process.
Error code: 3
Error message: Unable to start process"
Task result status updated: Aborted
Result completed
Test process exit code: 0
Progress event: Current: 10, Max: 13, Message: "Configuring TAEF test service to start automatically"
[22:21:26:386]: Configuring TAEF test service to start automatically
[22:21:26:386]: [Configuring TAEF test service to start automatically] Command Line:
sc config Te.Service start= auto
Task result status updated: Fail
Task result status updated: Fail
[22:21:27:029]: ERROR: Task "Configuring TAEF test service to start automatically" failed to complete successfully. Look at the logs in the driver test group explorer for more details on the failure.
Progress event: Current: 10, Max: 13, Message: " ERROR: Task "Configuring TAEF test service to start automatically" failed to complete successfully. Look at the logs in the driver test group explorer for more details on the failure."
Result completed
Test process exit code: 1060
Progress event: Current: 11, Max: 13, Message: "Configuring kernel debugger settings (possible reboot)"
[22:21:27:308]: Configuring kernel debugger settings (possible reboot)
[22:21:27:314]: Removing any existing files from test execution folder.
[22:21:27:464]: Copying required files for "Configuring kernel debugger settings (possible reboot)".
[22:21:28:636]: [Configuring kernel debugger settings (possible reboot)] Command Line:
$KitRoot$\Testing\Runtimes\TAEF\te.exe "%SystemDrive%\DriverTest\Run\DriverTestTasks.dll" /select:"@Name='DriverTestTasks::_ConfigureKernelDebugger'" /p:"DebugTransport=NET" /p:"NetHost=192.168.56.1" /p:"NetPort=50665" /p:"NetKey=X9VO9UAALZ2Y.I714U1ETF9A.Q31OB288DLPF.ZR7Y7X00ZT1F" /p:"StartPolicy=Active" /p:"IgnoreUserModeExceptions=0" /p:"SuppressReboot=1" /rebootStateFile:%SystemDrive%\DriverTest\Run\DriverTestReboot.xml /enableWttLogging /wttDeviceString:$LogFile:file="%SystemDrive%\DriverTest\Run\Configuring_kernel_debugger_settings_(possible_reboot)_00002.wtl",writemode=append,encoding=unicode,nofscache=true,EnableLvl="WexStartTest|WexEndTest|WexXml|WexProperty|WexCreateContext|WexCloseContext|*" /runas:Elevated
Result file "%SystemDrive%\DriverTest\Run\Configuring_kernel_debugger_settings_(possible_reboot)_00002.wtl.trace" could not be retrieved from the target machine. Error: An error occurred on the target machine while retrieving a file.
Error code: 2
Error message: Unable to open file 'C:\DriverTest\Run\Configuring_kernel_debugger_settings_(possible_reboot)_00002.wtl.trace'.
[22:21:37:503]: Result Summary: Total=1, Passed=1, Failed=0, Blocked=0, Warned=0, Skipped=0
Task result status updated: Pass
Task result status updated: Pass
[22:21:37:505]: Task "Configuring kernel debugger settings (possible reboot)" completed successfully
Progress event: Current: 11, Max: 13, Message: " Task "Configuring kernel debugger settings (possible reboot)" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 12, Max: 13, Message: "Configuring computer settings (possible reboot)"
[22:21:39:474]: Configuring computer settings (possible reboot)
[22:21:39:474]: Removing any existing files from test execution folder.
[22:21:39:497]: Copying required files for "Configuring computer settings (possible reboot)".
[22:21:40:447]: [Configuring computer settings (possible reboot)] Command Line:
$KitRoot$\Testing\Runtimes\TAEF\te.exe "%SystemDrive%\DriverTest\Run\DriverTestTasks.dll" /select:"@Name='DriverTestTasks::_ConfigureCommonSettings'" /p:"OsSkuType=0" /rebootStateFile:%SystemDrive%\DriverTest\Run\DriverTestReboot.xml /enableWttLogging /wttDeviceString:$LogFile:file="%SystemDrive%\DriverTest\Run\Configuring_computer_settings_(possible_reboot)_00002.wtl",writemode=append,encoding=unicode,nofscache=true,EnableLvl="WexStartTest|WexEndTest|WexXml|WexProperty|WexCreateContext|WexCloseContext|*" /runas:Elevated
Waiting for task to complete...
Progress event: Current: 12, Max: 13, Message: "Waiting for task to complete..."
Waiting for task to complete...
Progress event: Current: 12, Max: 13, Message: "Waiting for task to complete..."
Communication error occured while monitoring test. Ignoring error. An error occurred while connecting from the remote machine.
Error: 10061 (ConnectionRefused)
Error message: No connection could be made because the target machine actively refused it 192.168.1.8:50005
Communication error occured while monitoring test. Ignoring error. An error occurred while connecting from the remote machine.
Error: 10060 (TimedOut)
Error message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.8:50005
Waiting for task to complete...
Progress event: Current: 12, Max: 13, Message: "Waiting for task to complete..."
Communication error occured while monitoring test. Ignoring error. An error occurred while connecting from the remote machine.
Error: 10061 (ConnectionRefused)
Error message: No connection could be made because the target machine actively refused it 192.168.1.8:50005
Communication error occured while monitoring test. Ignoring error. An error occurred while connecting from the remote machine.
Error: 10061 (ConnectionRefused)
Error message: No connection could be made because the target machine actively refused it 192.168.1.8:50005
Waiting for task to complete...
Progress event: Current: 12, Max: 13, Message: "Waiting for task to complete..."
Result file "%SystemDrive%\DriverTest\Run\Configuring_computer_settings_(possible_reboot)_00002.wtl.trace" could not be retrieved from the target machine. Error: An error occurred on the target machine while retrieving a file.
Error code: 2
Error message: Unable to open file 'C:\DriverTest\Run\Configuring_computer_settings_(possible_reboot)_00002.wtl.trace'.
[22:26:21:128]: Result Summary: Total=2, Passed=1, Failed=0, Blocked=1, Warned=0, Skipped=0
Task result status updated: Pass
Task result status updated: Pass
[22:26:21:129]: Task "Configuring computer settings (possible reboot)" completed successfully
Progress event: Current: 12, Max: 13, Message: " Task "Configuring computer settings (possible reboot)" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 13, Max: 13, Message: "Creating system restore point"
[22:26:24:040]: Creating system restore point
[22:26:24:040]: [Creating system restore point] Command Line:
cscript.exe %SystemDrive%\DriverTest\Setup\CreateRestore.js
Task result status updated: Fail
Task result status updated: Fail
[22:26:27:884]: ERROR: Task "Creating system restore point" failed to complete successfully. Look at the logs in the driver test group explorer for more details on the failure.
Progress event: Current: 13, Max: 13, Message: " ERROR: Task "Creating system restore point" failed to complete successfully. Look at the logs in the driver test group explorer for more details on the failure."
Result completed
Test process exit code: -2147023838
Progress event: Current: 13, Max: 13, Message: ""
Progress event: Current: 13, Max: 13, Message: "Computer configuration log file://C:/Users/jason/AppData/Roaming/Microsoft/WDKTestInfrastructure/ProvisioningLogs/Driver%20Test%20Computer%20Configuration%2020190605221802261.log"

Continue reading...
 
Back
Top