Closed Bug 1572687 Opened 5 years ago Closed 4 years ago

Disable the GFX sanity window because for some users it never closes

Categories

(Remote Protocol :: Marionette, defect, P3)

Version 3
defect

Tracking

(firefox84 fixed)

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: whimboo, Assigned: jya)

References

()

Details

Attachments

(1 file, 2 obsolete files)

As discussed in bug 1420864 we want to disable the GFX sanity window of Firefox, which comes up for some users during startup, but never closes. As such Marionette doesn't initialize, and tests fail.

To cause the window even not to appear it should be enough to set the preference sanity-test.running to true.

https://searchfox.org/mozilla-central/rev/9775cca0a10a9b5c5f4e15c8f7b3eff5bf91bbd0/toolkit/components/gfx/SanityTest.jsm#347-350

Depends on D41357

I had to push another try build given that a unit test was failing on Windows where the gfx sanity window is active, and resets the newly added pref. Means that we have to skip testing this particular pref in the test.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=c557764149e9c0b44077ef1c92ae0c4d8e52112c

Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2b3e775a99cb [marionette] Disable the GFX sanity window. r=webdriver-reviewers,maja_zf https://hg.mozilla.org/integration/autoland/rev/0c1fa26f2f67 [geckodriver] Disable the GFX sanity window. r=webdriver-reviewers,maja_zf
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70

As it looks like this patch seem to have caused a start-up performance regression as covered on bug 1574837.

Sheriffs, can you please backout?

Flags: needinfo?(sheriffs)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla70 → ---
Attachment #9084265 - Attachment is obsolete: true
Attachment #9084266 - Attachment is obsolete: true

As proposed on bug 1574837, and agreed by Matt, the preference to be added to the GFX code can be sanity-test.disabled. It will be false by default.

Status: REOPENED → ASSIGNED

The priority flag is not set for this bug.
:automatedtester, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dburns)
Flags: needinfo?(dburns)
Priority: -- → P3
No longer blocks: 1520585
No longer blocks: 1573798
Blocks: 1584911

I'm currently not working on this bug.

Assignee: hskupin → nobody
Status: ASSIGNED → NEW
Blocks: 1649094
No longer blocks: 1584911

A fix for Marionette cannot block a geckodriver release.

No longer blocks: 1649094

We're going to disable the sanity test on marionette run

Assignee: nobody → jyavenard
Blocks: 1672704

We know that this test will never fail with any of the hardware used by our test infrastructure. It also force create a RDD process even when not actually used in the tests; skewing the results.

Pushed by jyavenard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8ac1218f9be3 Disable Gfx/Media sanity test during marionette tests. r=mattwoodrow,marionette-reviewers,whimboo,webdriver-reviewers
Status: NEW → RESOLVED
Closed: 5 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch

== Change summary for alert #27433 (as of Thu, 29 Oct 2020 15:31:44 GMT) ==

Improvements:

Ratio Suite Test Platform Options Absolute values (old vs new)
5% Resident Memory windows7-32-shippable 557,932,953.15 -> 528,647,413.93
5% Resident Memory windows7-32-shippable 557,663,929.65 -> 529,165,053.43

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=27433

Note, these performance improvements can be seen because awsy tests are using Marionette.

Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: