Closed Bug 2036987 Opened 27 days ago Closed 27 days ago

Disable process output storage to reduce memory pressure during test runs

Categories

(Testing :: Marionette Client and Harness, task, P3)

task
Points:
2

Tracking

(firefox152 fixed)

RESOLVED FIXED
152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [webdriver:m20])

Attachments

(1 file)

The ProcessHandler's storeOutput flag causes all Firefox process output to be accumulated in an unbounded list for the lifetime of each process. With verbose logging enabled (-vv / Trace level), this can grow to tens of thousands of entries over a test run. The accumulated strings are
never consumed by the Marionette runner.

Disabling storeOutput avoids the memory growth and reduces GC pressure, which could contribute to the stdout pipe stalling under load on CI causing test failures like bug 1970481 or missing log output as noted on bug 1989904.

The ProcessHandler's storeOutput flag causes all Firefox process output
to be accumulated in an unbounded list for the lifetime of each process.
With verbose logging enabled (-vv / Trace level), this can grow to tens
of thousands of entries over a test run. The accumulated strings are
never consumed by the Marionette runner — output is already streamed
to stdout via StreamOutput.

Disabling storeOutput avoids the memory growth and reduces GC pressure,
which could contribute to the stdout pipe stalling under load on CI.

Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Points: --- → 2
Priority: -- → P3
Whiteboard: [webdriver:m20]
Pushed by hskupin@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/841f2f288913 https://hg.mozilla.org/integration/autoland/rev/c9c60626d7ec [marionette] Disable process output storage to reduce memory pressure during test runs. r=jdescottes
Status: ASSIGNED → RESOLVED
Closed: 27 days ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: