We're running dm.removeDir(devRoot) immediately before the installApp stuff so we know the device is clean. Despite attempting to dm.mkDir(devRoot), dm.mkDirs(devRoot), dm.mkDirs(os.path.join(devRoot, "tests")), nothing seems to work. I think it's automatically trying to chdir to devRoot before doing anything, and when that fails, it fails out.
My current workaround: adb shell mkdir /mnt/sdcard/tests + comment out the dm.removeDir(devRoot) step.
This may be fixed by bug 611348.
Was this fixed by bug 611348?
the errors found here are fixed in a series of other fixes (sutagent, devicemanager, install scripts). But 611348 is the most likely candidate for fixing this. :mw22, are you seeing these problems still?
Well, I'm not exactly sure what fixed it, but we are currently dm.removeDir(devRoot) during cleanup.py, and we just went green. So I'm marking this fixed.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Component: New Frameworks → General
Product: Testing → Testing
You need to log in before you can comment on or make changes to this bug.