-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get rid of remote_queue from browsers #49838
base: master
Are you sure you want to change the base?
Conversation
This doesn't belong here, especially given it was only ever used to send "log" commands (which there's no need for: we're within the same process, we can just invoke the logger directly). While we're at it, migrate LogcatRunner over to using the same OutputHandler as used elsewhere (e.g., for WebDriver), thus hopefully avoiding further duplication.
Note that if
|
The reason it was implemented this way is because we want to associate the logcat logs with test run at the time. In Chromium we have the capability to browse logs/traces associated with a test through html file, thus make it easy for triage. Android system will usually produce a lot of logcat logs. Log all of them will flood the terminal. And we have wptrunner/wptrunner/formatters/chromium.py to handle that. |
OK, and this should go from: wpt/tools/wptrunner/wptrunner/browsers/chrome_android.py Lines 124 to 129 in 59ee38f
To: wpt/tools/wptrunner/wptrunner/browsers/base.py Lines 289 to 291 in 59ee38f
This does slightly changes what gets logged, but that shouldn't change things about how the association happens, changing the command from the constant wpt/tools/third_party_modified/mozlog/mozlog/structuredlog.py Lines 519 to 528 in 59ee38f
It shouldn't however have any impact on when things get logged? In either case, it should be when the Even if you absolutely want to maintain the same output, we should move from |
This doesn't belong here, especially given it was only ever used to
send "log" commands (which there's no need for: we're within the same
process, we can just invoke the logger directly).
While we're at it, migrate LogcatRunner over to using the same
OutputHandler as used elsewhere (e.g., for WebDriver), thus hopefully
avoiding further duplication.