You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky under load: DeveloperBrowserIntegration-workspace, "The collapsed terminal must have its prompt" #729
Seen while validating #727 (#721) locally, on a Linux CEF build (-DWEBFRONT_EMBED_CEF=ON -DWEBFRONT_ENABLE_TESTING=ON, Release) with ctest -L web-integration --parallel 4, on a 24-core machine whose load average was about 22 (other builds were running).
Symptom
DeveloperBrowserIntegration-workspace failed after 15 s:
Error: The collapsed terminal must have its prompt
at eventually (fixtures/run.mjs:9:41)
at async fixtures/run.mjs:1203:9
This is the until (400 × 25 ms, about 10 s) that waits for > in #terminal .xterm-rows of the relaunched page opened on an existing interface (test/web/developer-specs.mjs, page layout part).
The same test passed when it was rerun alone (ctest -R DeveloperBrowserIntegration-workspace, 6.6 s), and in an earlier full run of the same tree.
Relation with #660 #660 (closed) was the same part waiting for the relaunched page to start (The relaunched page did not start), and gave it 60 s. The wait for the prompt that follows still has the 10 s of until, which a loaded machine can exceed while the page loads the history and the C++ commands before drawing the prompt.
Expected
A wait bound to an observable state with a limit that holds on a loaded runner (docs/TEST_TIERS.md), or a limit consistent with the 60 s given to the relaunch.
To do
Reproduce under load (ctest -R DeveloperBrowserIntegration-workspace --repeat until-fail:20 while other parts run in parallel).
Find what the relaunched page waits for before showing its prompt (commands discovery, history read), and size or replace the wait.
Activity
Merge pull request #732 from ambroise-leclerc/729-flaky-collapsed-prompt
Give the wf run script of the terminal spec 60 s to start