Changeset 92330 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Nov 10, 2021 4:10:45 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxinstaller.py
r87468 r92330 599 599 fRc = self._executeSync(['hdiutil', 'detach', sMountPath ]); 600 600 if not fRc and not fIgnoreError: 601 reporter.error('Failed to unmount DMG at %s' % sMountPath); 601 # In case it's busy for some reason or another, just retry after a little delay. 602 for iTry in range(6): 603 time.sleep(5); 604 reporter.error('Retry #%s unmount DMT at %s' % (iTry + 1, sMountPath,)); 605 fRc = self._executeSync(['hdiutil', 'detach', sMountPath ]); 606 if fRc: 607 break; 608 if not fRc: 609 reporter.error('Failed to unmount DMG at %s' % (sMountPath,)); 602 610 603 611 # Remove dir. … … 606 614 except: 607 615 if not fIgnoreError: 608 reporter.errorXcpt('Failed to remove directory %s' % sMountPath);616 reporter.errorXcpt('Failed to remove directory %s' % (sMountPath,)); 609 617 return fRc; 610 618
Note:
See TracChangeset
for help on using the changeset viewer.