Closed Bug 1777519 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34660 - Avoid OSError from --kill-safari stat'ing random paths

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox112 fixed)

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 34660 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/34660
Details from upstream follow.

Sam Sneddon <gsnedders@apple.com> wrote:

Avoid OSError from --kill-safari stat'ing random paths

We call os.path.samefile on every process we can get the executable
path of; however, we might not be able to stat all of them, for
example raising PermissionError, thus we should handle this.

Whiteboard: [wptsync downstream] → [wptsync downstream error]
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d16e4c572eba [wpt PR 34660] - Avoid OSError from --kill-safari stat'ing random paths, a=testonly
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in before you can comment on or make changes to this bug.