Closed Bug 1870280 Opened 1 year ago Closed 1 year ago

WPT doesn't run on Windows with Android target

Categories

(Firefox Build System :: Android Studio and Gradle Integration, defect, P3)

defect

Tracking

(firefox122 fixed)

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: saschanaz, Assigned: saschanaz)

Details

Attachments

(1 file)

mozrunner opens a temporary file and call self.device.push which lets ADB to open the same file, which fails because tempfile.NamedTemporaryFile by default passes delete=True. Windows only allows reopening the same file with the exact same permission, and ADB does not open the file with deletion permission, which is why it's failing.

Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cf37a493f989 Open NamedTemporaryFile with delete=False on mozrunner r=firefox-build-system-reviewers,ahochheiden
Severity: -- → S3
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: