Changeset 84187 in vbox
- Timestamp:
- May 7, 2020 2:22:31 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 137795
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py
r84185 r84187 387 387 ('${CDROM}/VBoxWindowsAdditions.exe', '/S', '/l', '/with_autologon'), fCheckSessionStatus = True); 388 388 389 # Add the Windows Guest Additions installer files to the files we want to download 390 # from the guest. 391 sGuestAddsDir = 'C:/Program Files/Oracle/VirtualBox Guest Additions/'; 392 asLogFiles.append(sGuestAddsDir + 'install.log'); 393 # Note: There won't be a install_ui.log because of the silent installation. 394 asLogFiles.append(sGuestAddsDir + 'install_drivers.log'); 395 asLogFiles.append('C:/Windows/setupapi.log'); 396 397 # Note: setupapi.dev.log only is available since Windows 2000. 398 if fHaveSetupApiDevLog: 399 asLogFiles.append('C:/Windows/setupapi.dev.log'); 400 401 # 402 # Download log files. 403 # Ignore errors as all files above might not be present (or in different locations) 404 # on different Windows guests. 405 # 406 self.txsDownloadFiles(oSession, oTxsSession, asLogFiles, fIgnoreErrors = True); 407 389 408 # 390 409 # Reboot the VM and reconnect the TXS session. 391 410 # 392 if not fRc \ 393 or oTxsSession.getResult() is False: 394 reporter.error('Error installing Windows Guest Additions (installer returned with exit code)') 411 if fRc: 412 reporter.testStart('Rebooting guest w/ updated Guest Additions active'); 413 (fRc, oTxsSession) = self.txsRebootAndReconnectViaTcp(oSession, oTxsSession, cMsTimeout = 15 * 60 * 1000); 414 if fRc: 415 pass; 416 else: 417 reporter.testFailure('Rebooting and reconnecting to TXS service failed'); 418 reporter.testDone(); 395 419 else: 396 (fRc, oTxsSession) = self.txsRebootAndReconnectViaTcp(oSession, oTxsSession, cMsTimeout = 15 * 60 * 1000, 397 cMsCdWait = 15 * 60 * 1000); 398 if fRc is True: 399 # Add the Windows Guest Additions installer files to the files we want to download 400 # from the guest. 401 sGuestAddsDir = 'C:/Program Files/Oracle/VirtualBox Guest Additions/'; 402 asLogFiles.append(sGuestAddsDir + 'install.log'); 403 # Note: There won't be a install_ui.log because of the silent installation. 404 asLogFiles.append(sGuestAddsDir + 'install_drivers.log'); 405 asLogFiles.append('C:/Windows/setupapi.log'); 406 407 # Note: setupapi.dev.log only is available since Windows 2000. 408 if fHaveSetupApiDevLog: 409 asLogFiles.append('C:/Windows/setupapi.dev.log'); 410 411 # 412 # Download log files. 413 # Ignore errors as all files above might not be present (or in different locations) 414 # on different Windows guests. 415 # 416 self.txsDownloadFiles(oSession, oTxsSession, asLogFiles, fIgnoreErrors = True); 420 reporter.error('Error installing Windows Guest Additions (installer returned with exit code <> 0)') 417 421 418 422 return (fRc, oTxsSession); … … 466 470 if fRc: 467 471 reporter.testStart('Rebooting guest w/ updated Guest Additions active'); 468 (fRc, oTxsSession) = self.txsRebootAndReconnectViaTcp(oSession, oTxsSession, cMsTimeout = 15 * 60 * 1000, 469 cMsCdWait = 15 * 60 * 1000); 472 (fRc, oTxsSession) = self.txsRebootAndReconnectViaTcp(oSession, oTxsSession, cMsTimeout = 15 * 60 * 1000); 470 473 if fRc: 471 474 pass
Note:
See TracChangeset
for help on using the changeset viewer.