Closed Bug 1569440 Opened 7 years ago Closed 7 years ago

Improve error logging for wpt on geckoview

Categories

(Testing :: web-platform-tests, enhancement)

Version 3
enhancement
Not set
normal

Tracking

(firefox70 fixed)

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: impossibus, Assigned: impossibus)

Details

Attachments

(8 external files, 2 obsolete files)

While investigating missing minidumps as in https://bugzilla.mozilla.org/show_bug.cgi?id=1544654#c21 I ran into several other way to improve error reporting for Android, along with some other code cleanup.

The missing directory seems to happens ~20 or so times per test run. I hope this
can help with investigations.

Depends on D39612

This changes the logging from
"PROCESS-CRASH | mozrunner-startup | application crashed" to
"PROCESS-CRASH | path/to/test | application crashed"

Depends on D39613

This adds a "after_no_more_tests" hook for browsers.

Depends on D39617

It may be the case the moz-phab did something insane with the commit series I just tried to submit. The output I got locally was... interesting. I don't have time to look at it now, so sorry for any noise, I'll check after the weekend.

Other harness code intermittently complains if the directory is absent. Maybe this will help.

Depends on D39620

Alright, I think the review requests are okay now. Was a weird interaction with Mercurial evolve extension, if you're curious.

Attachment #9081135 - Attachment is obsolete: true
Attachment #9081134 - Attachment is obsolete: true
Pushed by mjzffr@gmail.com: https://hg.mozilla.org/integration/autoland/rev/b2c5b79b23f2 [wptrunner] Remove dead leak-check code for firefox_android; r=jgraham https://hg.mozilla.org/integration/autoland/rev/f681cbc7d8a9 [mozrunner] Log when minidumps directory does not exist on device; r=gbrown https://hg.mozilla.org/integration/autoland/rev/05c2a4ca0bde [wptrunner] Provide test name during crash checks on Android; r=jgraham https://hg.mozilla.org/integration/autoland/rev/9f21ff6a29fa [mozrunner] Set MOZ_IN_AUTOMATION when running on Android; r=gbrown https://hg.mozilla.org/integration/autoland/rev/41b54d5c6b1c [mozdevice] Remove redundant except clause; r=gbrown https://hg.mozilla.org/integration/autoland/rev/5cc0198a826e [mozrunner] Clean up stray temp directory; r=gbrown https://hg.mozilla.org/integration/autoland/rev/eb55ccea426e [mozrunner] Empty the minidump directory instead of deleting it; r=gbrown https://hg.mozilla.org/integration/autoland/rev/8b0fad086008 [wptrunner] Remove unused process-handling code for running Firefox for Android; r=jgraham
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/18179 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: