Open Bug 1795538 Opened 2 years ago Updated 1 year ago

High freq browser/base/content/test/performance/browser_startup_syncIPC.js | single tracking bug

Categories

(Core :: DOM: Performance, defect, P5)

defect

Tracking

()

ASSIGNED
Tracking Status
firefox-esr102 --- unaffected
firefox108 --- unaffected
firefox109 --- unaffected
firefox110 --- affected

People

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

Details

(4 keywords, Whiteboard: [retriggered])

Attachments

(1 file)

Filed by: imoraru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=393295857&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Iwen7f4TQaWGSzz1OnUHCg/runs/0/artifacts/public/logs/live_backing.log


Observed in today's central-as-early-beta simulation, so far, it only failed as a [tier 2] on Linux 18.04 x64 WebRender DevEdition opt.

[task 2022-10-15T12:51:47.841Z] 12:51:47     INFO - TEST-START | browser/base/content/test/performance/browser_startup_syncIPC.js
[task 2022-10-15T12:51:47.864Z] 12:51:47     INFO - TEST-INFO | started process screentopng
[task 2022-10-15T12:51:48.053Z] 12:51:48     INFO - TEST-INFO | screentopng: exit 0
[task 2022-10-15T12:51:48.054Z] 12:51:48     INFO - Buffered messages logged at 12:51:47
[task 2022-10-15T12:51:48.054Z] 12:51:48     INFO - Entering test bound 
[task 2022-10-15T12:51:48.054Z] 12:51:48     INFO - known sync IPC before first paint:
[task 2022-10-15T12:51:48.054Z] 12:51:48     INFO -   PWebRenderBridge::Msg_EnsureConnected - at most 1 times
[task 2022-10-15T12:51:48.054Z] 12:51:48     INFO -   PCompositorBridge::Msg_NotifyChildCreated - at most 1 times
[task 2022-10-15T12:51:48.054Z] 12:51:48     INFO -   PCompositorBridge::Msg_Resume - at most 1 times
[task 2022-10-15T12:51:48.055Z] 12:51:48     INFO - TEST-PASS | browser/base/content/test/performance/browser_startup_syncIPC.js | sync IPC PWebRenderBridge::Msg_EnsureConnected happened as many times as expected before first paint - 
[task 2022-10-15T12:51:48.056Z] 12:51:48     INFO - TEST-PASS | browser/base/content/test/performance/browser_startup_syncIPC.js | sync IPC PCompositorBridge::Msg_NotifyChildCreated happened as many times as expected before first paint - 
[task 2022-10-15T12:51:48.056Z] 12:51:48     INFO - TEST-PASS | browser/base/content/test/performance/browser_startup_syncIPC.js | sync IPC PCompositorBridge::Msg_Resume happened as many times as expected before first paint - 
[task 2022-10-15T12:51:48.056Z] 12:51:48     INFO - known sync IPC before handling user events:
[task 2022-10-15T12:51:48.056Z] 12:51:48     INFO -   PCompositorBridge::Msg_FlushRendering - at most 1 times
[task 2022-10-15T12:51:48.057Z] 12:51:48     INFO - TEST-PASS | browser/base/content/test/performance/browser_startup_syncIPC.js | sync IPC PCompositorBridge::Msg_FlushRendering allowed 1 but only happened 0 times before handling user events - 
[task 2022-10-15T12:51:48.059Z] 12:51:48     INFO - known sync IPC before becoming idle:
[task 2022-10-15T12:51:48.059Z] 12:51:48     INFO -   PCompositorBridge::Msg_NotifyChildCreated - at most 1 times
[task 2022-10-15T12:51:48.059Z] 12:51:48     INFO -   PLayerTransaction::Msg_GetTextureFactoryIdentifier - at most 1 times
[task 2022-10-15T12:51:48.059Z] 12:51:48     INFO -   PWebRenderBridge::Msg_EnsureConnected - at most 1 times
[task 2022-10-15T12:51:48.059Z] 12:51:48     INFO -   PCompositorBridge::Msg_FlushRendering - at most 1 times
[task 2022-10-15T12:51:48.060Z] 12:51:48     INFO - TEST-PASS | browser/base/content/test/performance/browser_startup_syncIPC.js | sync IPC PCompositorBridge::Msg_NotifyChildCreated allowed 1 but only happened 0 times before becoming idle - 
[task 2022-10-15T12:51:48.060Z] 12:51:48     INFO - TEST-PASS | browser/base/content/test/performance/browser_startup_syncIPC.js | sync IPC PLayerTransaction::Msg_GetTextureFactoryIdentifier allowed 1 but only happened 0 times before becoming idle - 
[task 2022-10-15T12:51:48.061Z] 12:51:48     INFO - TEST-PASS | browser/base/content/test/performance/browser_startup_syncIPC.js | sync IPC PWebRenderBridge::Msg_EnsureConnected allowed 1 but only happened 0 times before becoming idle - 
[task 2022-10-15T12:51:48.062Z] 12:51:48     INFO - Buffered messages finished
[task 2022-10-15T12:51:48.066Z] 12:51:48     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_startup_syncIPC.js | sync IPC PCompositorBridge::Msg_FlushRendering happened 2 but max is 1 before becoming idle - 
[task 2022-10-15T12:51:48.066Z] 12:51:48     INFO - Stack trace:
[task 2022-10-15T12:51:48.067Z] 12:51:48     INFO - chrome://mochikit/content/browser-test.js:test_ok:1457
[task 2022-10-15T12:51:48.067Z] 12:51:48     INFO - chrome://mochitests/content/browser/browser/base/content/test/performance/browser_startup_syncIPC.js:null:407
[task 2022-10-15T12:51:48.068Z] 12:51:48     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-10-15T12:51:48.069Z] 12:51:48     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_startup_syncIPC.js | Unexpected sync IPC behavior during startup; open the profile_startup_syncIPC.json artifact in the Firefox Profiler to see what happened - 
[task 2022-10-15T12:51:48.069Z] 12:51:48     INFO - Stack trace:
[task 2022-10-15T12:51:48.070Z] 12:51:48     INFO - chrome://mochikit/content/browser-test.js:test_ok:1457
[task 2022-10-15T12:51:48.070Z] 12:51:48     INFO - chrome://mochitests/content/browser/browser/base/content/test/performance/browser_startup_syncIPC.js:null:425
[task 2022-10-15T12:51:48.070Z] 12:51:48     INFO - Leaving test bound 
[task 2022-10-15T12:51:48.225Z] 12:51:48     INFO - GECKO(5577) | MEMORY STAT | vsize 11331MB | residentFast 377MB | heapAllocated 232MB
[task 2022-10-15T12:51:48.226Z] 12:51:48     INFO - TEST-OK | browser/base/content/test/performance/browser_startup_syncIPC.js | took 383ms
[task 2022-10-15T12:51:48.241Z] 12:51:48     INFO - checking window state
[task 2022-10-15T12:51:49.552Z] 12:51:49     INFO - GECKO(5577) | Completed ShutdownLeaks collections in process 5730
[task 2022-10-15T12:51:49.598Z] 12:51:49     INFO - GECKO(5577) | Completed ShutdownLeaks collections in process 5665
[task 2022-10-15T12:51:49.601Z] 12:51:49     INFO - GECKO(5577) | Completed ShutdownLeaks collections in process 5728
[task 2022-10-15T12:51:49.640Z] 12:51:49     INFO - GECKO(5577) | Completed ShutdownLeaks collections in process 5639
[task 2022-10-15T12:51:49.965Z] 12:51:49     INFO - GECKO(5577) | Completed ShutdownLeaks collections in process 5577
[task 2022-10-15T12:51:49.965Z] 12:51:49     INFO - TEST-START | Shutdown
[task 2022-10-15T12:51:49.965Z] 12:51:49     INFO - Browser Chrome Test Summary
[task 2022-10-15T12:51:49.967Z] 12:51:49     INFO - Passed:  13
[task 2022-10-15T12:51:49.968Z] 12:51:49     INFO - Failed:  2
[task 2022-10-15T12:51:49.970Z] 12:51:49     INFO - Todo:    1
[task 2022-10-15T12:51:49.976Z] 12:51:49     INFO - Mode:    e10s
[task 2022-10-15T12:51:49.977Z] 12:51:49     INFO - *** End BrowserChrome Test Results ***
Summary: Intermittent [tier 2] browser/base/content/test/performance/browser_startup_syncIPC.js | single tracking bug → Intermittent browser/base/content/test/performance/browser_startup_syncIPC.js | single tracking bug
Regressed by: 1804295
Whiteboard: [retriggered]

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

Summary: Intermittent browser/base/content/test/performance/browser_startup_syncIPC.js | single tracking bug → High freq browser/base/content/test/performance/browser_startup_syncIPC.js | single tracking bug

Locally on linux the test fails even without my patch. It looks like a very racy test. Investigating.

The test is rather racy. I had to add the new entry for PCompositorBridge::Msg_Resume to make it ever pass locally (even without my recent patch), and
it isn't guaranteed when PCompositorBridge::Msg_FlushRendering happens.

Attachment #9310637 - Attachment description: WIP: Bug 1795538 - browser_startup_syncIPC.js should allow some IPC messages in different times during startup, r=emilio → Bug 1795538 - browser_startup_syncIPC.js should allow some IPC messages in different times during startup, r=emilio
Assignee: nobody → smaug
Status: NEW → ASSIGNED
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4d38a714a054 browser_startup_syncIPC.js should allow some IPC messages in different times during startup, r=emilio
Flags: needinfo?(smaug)
Keywords: leave-open

Removing 'regressed by', since that part is now fixed, but this bug was filed way before bug 1804295 and the test seems to have some scheduling assumptions which may not be always quite right.

No longer regressed by: 1804295

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Performance' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → DOM: Performance
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: