Closed Bug 1528361 Opened 5 years ago Closed 5 years ago

Android mozrunner tries to delete the profile even if it doesn't exist

Categories

(Testing :: Mozbase, enhancement, P2)

Version 3
enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: gbrown, Assigned: gbrown)

Details

Attachments

(1 file)

When running marionette and wpt tests, misconfiguration or bad arguments can cause the harness to abort a test run before setting up a profile. In these cases, mozrunner still tries to delete the profile, resulting in an error message like:

cleanup aborted: args: /home/gbrown/.mozbuild/android-sdk-linux/platform-tools/adb-5554 wait-for-device shell rm -r /sdcard/tests/profile; echo adb_returncode=$?, exitcode: 1, stdout: rm: /sdcard/tests/profile: No such file or directory

Priority: -- → P2
Attachment #9045783 - Attachment description: Avoid unnecessary error message from Android marionette/wpt tests when profile is missing → Bug 1528361 - Avoid unnecessary error message from Android marionette/wpt tests when profile is missing
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fcfca62a802a
Avoid unnecessary error message from Android marionette/wpt tests when profile is missing r=bc
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: