Changeset 84757 in vbox for trunk/src/VBox/ValidationKit/tests/autostart/tdAutostart1.py
- Timestamp:
- Jun 10, 2020 1:13:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/autostart/tdAutostart1.py
r84699 r84757 1180 1180 reporter.error('Create session for user %s failed' % sUser); 1181 1181 else: 1182 1183 #---- report tasklist for debug purpose ----- 1182 1184 (fRc, _, _, aBuf) = self.guestProcessExecute(oGuestSession, 'Check for running VM', 1183 30 * 1000, 'C:\\Program Files\\Oracle\\VirtualBox\\VBoxManage.exe', 1185 60 * 1000, 'C:\\Windows\\System32\\tasklist.exe', 1186 ['C:\\Windows\\System32\\tasklist.exe', '/m', 1187 'vboxheadless*', '/nh'], True, True); 1188 try: 1189 sTaskList = str(aBuf); 1190 reporter.log("Guest tasks for user %s: %s" % (sUser, sTaskList)); 1191 except: 1192 pass; 1193 #---- end report tasklist for debug purpose ----- 1194 1195 (fRc, _, _, aBuf) = self.guestProcessExecute(oGuestSession, 'Check for running VM', 1196 60 * 1000, 'C:\\Program Files\\Oracle\\VirtualBox\\VBoxManage.exe', 1184 1197 ['C:\\Program Files\\Oracle\\VirtualBox\\VBoxManage.exe', 1185 1198 'list', 'runningvms'], True, True); … … 1187 1200 reporter.error('Checking the VM %s is running for user %s failed' % (sVmName, sUser)); 1188 1201 else: 1202 1189 1203 bufWrapper = VBoxManageStdOutWrapper(); 1190 1204 bufWrapper.write(aBuf); … … 1489 1503 (fRc, oGuestSession) = oGuestOsHlp.rebootVMAndCheckReady(oSession, oGuestSession); 1490 1504 if fRc is True: 1491 # Fudge factor - Allow the guest to finish starting up.1492 self.sleep( 30);1505 # Fudge factor - Allow the guest VMs to finish starting up. 1506 self.sleep(60); 1493 1507 fRc = oGuestOsHlp.checkForRunningVM(oSession, oGuestSession, sTestUserAllow, sTestVmName); 1494 1508 if fRc is True:
Note:
See TracChangeset
for help on using the changeset viewer.