Skip to content

Flaky under load: WebFrontBrowserIntegration reaches the driver's 50 s time limit #730

Done

Description

@ambroise-leclerc

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.

Symptom

  • WebFrontBrowserIntegration failed twice in two full runs after 50.2 s:
    The time limit of the driver elapsed
    wf test did not pass (status 71)
    
  • The server log shows calls answered about every 15 s near the end (onMessage(binary) ... Function called ! at 14:06:20 then 14:06:35), and no failed spec is reported: the run is cut by the limit, not by an assertion.
  • Rerun alone (ctest -R '^WebFrontBrowserIntegration$'), it passed in 16.1 s, so the limit is about three times the time the suite needs on an idle machine.
  • Terminal: system copy/paste shortcuts; Escape or a Stop button interrupts a command (#721) #727 does not change the Jasmine suite or the core bridge; the suite is run through wf test of the developer environment built from the branch.

Expected

To do

  • Reproduce under load (--repeat until-fail:20 with parallel web cases) and find which specs take the 15 s steps.
  • Report the stage of the run when the driver stops it, then size the limit or fix the slow specs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions