Closed Bug 1510026 Opened 6 years ago Closed 6 years ago

Make crashtests flush the compositor after every test

Categories

(Testing :: Reftest, enhancement)

59 Branch
enhancement
Not set
normal

Tracking

(firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

Attachments

(1 file)

The crashtests are implemented as "load only" reftests, which means they run with the reftest harness and don't do any snapshotting. With e10s/OMTC this means that the reftest harness is mostly completely asynchronous from the actual compositor work, and so if the compositor gets wedged or crashes or whatever, the test harness doesn't know about it until later (possibly much later). It seems that often the next test that does some sync IPC (via AdvanceTimeAndRefresh or similar) ends up the one manifesting the failure. We should make the reftest harness more robust to this sort of thing, by forcing a round-trip to the compositor that flushes everything.
No longer blocks: 1509635
This sends a sync IPC message to the compositor after each crashtest, to ensure that any stuff inflight in the compositor settles down. In particular this should round-trip through all of the relevant compositor threads (i.e. for WebRender it should ensure the scene builder, render backend, and renderer threads all get flushed).
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2d25f33db080 Send a sync IPC round-trip to the compositor after every crashtest. r=mattwoodrow
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: