devicemanager can't function after dm.removeDir(devRoot)

RESOLVED FIXED

Status

Testing
General
RESOLVED FIXED
8 years ago
3 months ago

People

(Reporter: aki, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
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.
(Reporter)

Comment 1

8 years ago
My current workaround: adb shell mkdir /mnt/sdcard/tests
+ comment out the dm.removeDir(devRoot) step.
(Reporter)

Comment 2

8 years ago
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?
(Reporter)

Comment 5

8 years ago
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
(Assignee)

Updated

3 months ago
Component: New Frameworks → General
Product: Testing → Testing
You need to log in before you can comment on or make changes to this bug.