Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reland "[wptrunner] Log which browser (PID) ran each test (#45472)"
This is an identical reland of #44716; #44736 fixed the underlying regression. --- `mozlog` allows `process_output` events to be interspersed between any `test_*` events [0]. When running tests in parallel, there's currently no structured way to tell which test a `process_event` corresponds to, which prevents us from extracting per-test browser logs. (The required `pid` field is unhelpfully that of the main `testrunner` process.) Log the browser PID during `test_end` as `extra.browser_pid` so that it can be joined against `process_output`'s `process` field. [0]: https://firefox-source-docs.mozilla.org/mozbase/mozlog.html#testsuite-protocol
- Loading branch information