Ensure VSync is disabled at the end of automated browser chrome tests
Categories
(Core :: Graphics, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox105 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
(Depends on 5 open bugs, Blocks 1 open bug, Regressed 1 open bug)
Details
(Keywords: power)
Attachments
(3 files)
We found multiple times by accident steps to reproduce bugs that cause vsync to remain enabled forever (or until a browser window is closed). We should leverage our large existing test suite to detect cases like this faster.
Try run for a first attempt: https://treeherder.mozilla.org/jobs?repo=try&tier=1%2C2%2C3&revision=55ab23e422025b695486aee32f3ec8b6c7e2b7e1
This list of failing tests contains occurences of bug 560067 and bug 1742797.
There are also test issues. For exemple some tests keep about:robots (which has an animated favicon) or a non-loading page (with the bouncing load indicator) at the end of the test.
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D132055
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D132055
Comment 5•3 years ago
|
||
Backed out for causing failures complaining about vsync
Backout link: https://hg.mozilla.org/integration/autoland/rev/7617aa566da692e7afb43dfcd833653ef7dcd098
Failure log:
Comment 7•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3ab9dcc66a5b
https://hg.mozilla.org/mozilla-central/rev/f69a46e3eb9a
Assignee | ||
Updated•3 years ago
|
Comment 8•2 years ago
|
||
Hi! I am slightly confused about the state of this bug: Is it really meant to be closed (depending on 7 open bugs)?
In any case I see waiting for vsync to be disabled
in bug 1792516 quite often again. Are you aware of any recent changes here that could explain the recent spike?
Assignee | ||
Comment 9•2 years ago
|
||
(In reply to Jens Stutte [:jstutte] from comment #8)
Hi! I am slightly confused about the state of this bug: Is it really meant to be closed (depending on 7 open bugs)?
Yes, we landed support "ensuring VSync is disabled at the end of automated browser chrome tests", so this bug is fixed we will catch regressions / new issues. The 7 dependent bugs are issues for which a workaround was found to unblock this bug.
In any case I see
waiting for vsync to be disabled
in bug 1792516 quite often again. Are you aware of any recent changes here that could explain the recent spike?
The failure I see in bug 1792516 is "dom/ipc/tests/browser_content_shutdown_with_endless_js.js | Test timed out". And then, because the test timed out, it didn't finish cleanly and didn't cleanup things it would otherwise cleanup. It most likely left something animated still displayed, that's what the "vsync remained enabled at the end of the test. Is there an animation still running?" failure means. Maybe I should silence this failure in the case where the test is already failing due to a timeout, as it might be confusing, and doesn't add value in that case.
Comment 10•2 years ago
|
||
(In reply to Florian Quèze [:florian] from comment #9)
The failure I see in bug 1792516 is "dom/ipc/tests/browser_content_shutdown_with_endless_js.js | Test timed out". And then, because the test timed out, it didn't finish cleanly and didn't cleanup things it would otherwise cleanup. It most likely left something animated still displayed, that's what the "vsync remained enabled at the end of the test. Is there an animation still running?" failure means. Maybe I should silence this failure in the case where the test is already failing due to a timeout, as it might be confusing, and doesn't add value in that case.
Thanks! Yeah, I am not always sure to what extent I can trust the order of the lines in the log file, but if we can, this is probably just a symptom of what happened before.
Assignee | ||
Updated•2 years ago
|
Description
•