Closed Bug 2068142 Opened 2 months ago Closed 2 months ago

Perma TV browser/components/enterprisepolicies/tests/browser/browser_policy_set_homepage.js | This test exceeded the timeout threshold. It should be rewritten or split up

Categories

(Firefox :: Enterprise Policies, defect, P5)

defect

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox-esr153 --- unaffected
firefox155 --- unaffected
firefox156 --- unaffected
firefox157 --- wontfix
firefox158 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: mkaply)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, test-verify-fail)

Attachments

(1 external file)

Filed by: asilaghi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=589422125&repo=autoland&task=XOazUz1ZQ3m1udn93itehg.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/XOazUz1ZQ3m1udn93itehg/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/default/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/XOazUz1ZQ3m1udn93itehg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2026-09-01T14:30:56.212+00:00] 14:30:56     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_set_homepage.js | Engine is inactive at the end of the test
[task 2026-09-01T14:30:56.212+00:00] 14:30:56     INFO - checking for open popups
[task 2026-09-01T14:30:56.212+00:00] 14:30:56     INFO - TEST-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_set_homepage.js | changed preference: browser.crashReports.cleanupCheck.lastDate
[task 2026-09-01T14:30:56.212+00:00] 14:30:56     INFO - TEST-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_set_homepage.js | changed preference: identity.fxaccounts.account.device.name
[task 2026-09-01T14:30:56.212+00:00] 14:30:56     INFO - TEST-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_set_homepage.js | changed preference: browser.startup.page
[task 2026-09-01T14:30:56.212+00:00] 14:30:56     INFO - Buffered messages finished
[task 2026-09-01T14:30:56.213+00:00] 14:30:56     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_set_homepage.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. Test ran for 796s, limit was 180s (timeout factor 1).
[task 2026-09-01T14:30:56.213+00:00] 14:30:56     INFO - GECKO(3116) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2026-09-01T14:30:56.213+00:00] 14:30:56     INFO - GECKO(3116) | MEMORY STAT | vsize 415496MB | residentFast 945MB | heapAllocated 364MB
[task 2026-09-01T14:30:56.213+00:00] 14:30:56     INFO - checking for open sidebars
[task 2026-09-01T14:30:56.213+00:00] 14:30:56     INFO - checking window state
[task 2026-09-01T14:30:57.715+00:00] 14:30:57     INFO - Not taking screenshot here: see the one that was previously logged
[task 2026-09-01T14:30:57.715+00:00] 14:30:57     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_set_homepage.js | profile uploaded in profile_browser_policy_set_homepage-2.js.json
[task 2026-09-01T14:30:57.715+00:00] 14:30:57     INFO - Not taking screenshot here: see the one that was previously logged
[task 2026-09-01T14:30:57.715+00:00] 14:30:57     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_set_homepage.js | finished in 797863ms
[task 2026-09-01T14:30:57.715+00:00] 14:30:57     INFO - TEST-INFO took 797867ms
[task 2026-09-01T14:30:57.732+00:00] 14:30:57     INFO - GECKO(3116) | [Child 3157: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1017dc400 == 1 [pid = 3157] [id = 1]
[task 2026-09-01T14:30:57.732+00:00] 14:30:57     INFO - GECKO(3116) | [Child 3157: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (1016fbd00) [pid = 3157] [serial = 5] [outer = 0]
[task 2026-09-01T14:30:57.732+00:00] 14:30:57     INFO - GECKO(3116) | [Child 3157: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (100b34e00) [pid = 3157] [serial = 6] [outer = 1016fbd00]
[task 2026-09-01T14:30:58.060+00:00] 14:30:58     INFO - GECKO(3116) | [Parent 3116: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 20 (3696c6600) [pid = 3116] [serial = 56] [outer = 36076ba00]
[task 2026-09-01T14:30:58.726+00:00] 14:30:58     INFO - GECKO(3116) | [Child 3159: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1014b3800 == 0 [pid = 3159] [id = 0] [url = about:blank]
[task 2026-09-01T14:30:58.729+00:00] 14:30:58     INFO - GECKO(3116) | [Child 3159: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (101663a00) [pid = 3159] [serial = 1] [outer = 0] [url = about:blank]
[task 2026-09-01T14:30:58.754+00:00] 14:30:58     INFO - GECKO(3116) | [Child 3159: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (100935300) [pid = 3159] [serial = 2] [outer = 0] [url = about:blank]
[task 2026-09-01T14:30:58.825+00:00] 14:30:58     INFO - GECKO(3116) | [Child 3168: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1010cf800 == 0 [pid = 3168] [id = 0] [url = about:newtab]
[task 2026-09-01T14:30:58.888+00:00] 14:30:58     INFO - GECKO(3116) | [Child 3168: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (10051e800) [pid = 3168] [serial = 1] [outer = 0] [url = about:newtab]
[task 2026-09-01T14:30:58.945+00:00] 14:30:58     INFO - GECKO(3116) | [Child 3168: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (100537600) [pid = 3168] [serial = 3] [outer = 0] [url = about:newtab]
[task 2026-09-01T14:30:59.828+00:00] 14:30:59     INFO - GECKO(3116) | Completed ShutdownLeaks collections in process 3157
[task 2026-09-01T14:30:59.829+00:00] 14:30:59     INFO - GECKO(3116) | Completed ShutdownLeaks collections in process 3159
[task 2026-09-01T14:30:59.850+00:00] 14:30:59     INFO - GECKO(3116) | [Parent 3116: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 367b3fc00 == 6 [pid = 3116] [id = 22] [url = about:blank]
[task 2026-09-01T14:30:59.851+00:00] 14:30:59     INFO - GECKO(3116) | [Parent 3116: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 13b87e000 == 5 [pid = 3116] [id = 21] [url = about:preferences#customHomepage]
[task 2026-09-01T14:30:59.851+00:00] 14:30:59     INFO - GECKO(3116) | [Parent 3116: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 19 (370482c00) [pid = 3116] [serial = 52] [outer = 0] [url = about:blank]
[task 2026-09-01T14:30:59.853+00:00] 14:30:59     INFO - GECKO(3116) | [Parent 3116: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (3659f3e00) [pid = 3116] [serial = 50] [outer = 0] [url = about:blank]
[task 2026-09-01T14:30:59.869+00:00] 14:30:59     INFO - GECKO(3116) | [Parent 3116: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (3705ccd00) [pid = 3116] [serial = 43] [outer = 0] [url = about:preferences]
[task 2026-09-01T14:30:59.929+00:00] 14:30:59     INFO - GECKO(3116) | Completed ShutdownLeaks collections in process 3142
[task 2026-09-01T14:31:00.082+00:00] 14:31:00     INFO - GECKO(3116) | Completed ShutdownLeaks collections in process 3168
[task 2026-09-01T14:31:00.097+00:00] 14:31:00     INFO - GECKO(3116) | [Parent 3116: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (365f42b00) [pid = 3116] [serial = 54] [outer = 0] [url = about:blank]
[task 2026-09-01T14:31:00.098+00:00] 14:31:00     INFO - GECKO(3116) | [Parent 3116: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (36125c400) [pid = 3116] [serial = 46] [outer = 0] [url = about:preferences]
[task 2026-09-01T14:31:00.548+00:00] 14:31:00     INFO - GECKO(3116) | [Parent 3116: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (369424400) [pid = 3116] [serial = 55] [outer = 0] [url = about:blank]
[task 2026-09-01T14:31:00.563+00:00] 14:31:00     INFO - GECKO(3116) | [Parent 3116: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (3659f9300) [pid = 3116] [serial = 48] [outer = 0] [url = about:preferences]
[task 2026-09-01T14:31:00.582+00:00] 14:31:00     INFO - GECKO(3116) | [Parent 3116: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (35fd95200) [pid = 3116] [serial = 8] [outer = 0] [url = about:blank]
[task 2026-09-01T14:31:03.056+00:00] 14:31:03     INFO - GECKO(3116) | [Parent 3116: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (13b482800) [pid = 3116] [serial = 51] [outer = 0] [url = about:preferences]
[task 2026-09-01T14:31:03.402+00:00] 14:31:03     INFO - GECKO(3116) | [Parent 3116: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (370230300) [pid = 3116] [serial = 53] [outer = 0] [url = about:preferences]
[task 2026-09-01T14:31:03.761+00:00] 14:31:03     INFO - GECKO(3116) | Completed ShutdownLeaks collections in process 3116
[task 2026-09-01T14:31:03.761+00:00] 14:31:03     INFO - TEST-START | Shutdown

Set release status flags based on info from the regressing bug 2067248

:mkaply, since you are the author of the regressor, bug 2067248, could you take a look?

For more information, please visit BugBot documentation.

Set release status flags based on info from the regressing bug 2067248

The helper opened about:preferences on every call, so
browser_policy_set_homepage.js paid for seven page loads, five of which
re-asserted the same unlocked UI with a different homepage list. That put the
file over the test-verify timeout. The disabled states follow Locked and
StartPage rather than the URLs, so only callers that exercise those need the
page.

The two pipe-separated tasks check HomePage.get() directly, since the pref
value is all they are about.

Assignee: nobody → mozilla
Status: NEW → ASSIGNED
Attachment #9642053 - Attachment description: Bug 2068142 - Stop loading about:preferences in check_homepage when there is no UI to verify. r=bsmth → Bug 2068142 - Skip the about:preferences load in check_homepage when there is no UI to verify. r=bsmth
Pushed by mozilla@kaply.com: https://github.com/mozilla-firefox/firefox/commit/aa62f24ef630 https://hg.mozilla.org/integration/autoland/rev/3d3a81ec8949 Skip the about:preferences load in check_homepage when there is no UI to verify. r=bsmth
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
Flags: needinfo?(mozilla)

The patch landed in nightly and beta is affected.

:mkaply, please make an uplift decision for beta:

  • Nominate the patch for beta uplift approval if the fix should be included in this release, or
  • Set status-firefox157 to wontfix if the fix can wait for the next release.

See Requesting an Uplift for documentation on how to request an uplift.

For more information, please visit BugBot documentation.

Flags: needinfo?(mozilla)
Flags: needinfo?(mozilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: