Repository navigation
ci: raise the Run tests step timeout from 25 to 40 minutes - #26297
antobinary merged 1 commit into
Conversation
The 25-minute budget on the Playwright "Run tests" step dates from November 2023, when it was the timeout of a retry wrapper around a much smaller suite (724e356); the wrapper went away in bigbluebutton#22024 and the number stayed. The suite tagged @ci has grown from 71 to 125 tests between 2026-10-07 and 2026-10-28, and Playwright shards by file in contiguous slices, so shards 2, 7 and 8 now take 22 to 25 minutes on a green run (shard 2 hit 24.9 minutes on a passing run today). One retried flaky test, at a 3-minute test timeout and one retry in CI, is enough to push those shards past 25 minutes, which is what the recent Error: The action 'Run tests' has timed out after 25 minutes. failures on v4.0.x-develop are. 40 minutes gives the heavy shards headroom while the @ci suite is trimmed by moving tests to @nightly; it stays well inside GitHub's 6-hour job cap. The Install BBB step keeps its 60 minutes, and the plugin and legacy-media jobs keep 25 since their test steps finish in about a minute.
|
No actionable comments were generated in the recent review.
|
⏳ Automated tests are running... |
The install-and-run-legacy-media-tests job (2d213ed) runs every test tagged both @ci and @media in one unsharded job, with the 25-minute step timeout copied from the main shards. The media suite has grown with the suite as a whole, and the "Run legacy (bbb-webrtc-sfu) media tests" step now takes 20 to 22 minutes on a green run (2026-10-28) and was killed at 25.2 minutes on ten of the eleven runs between 2026-10-28 15:19 and 2026-10-29 11:09 UTC, on pushes to v4.0.x-develop and on PRs alike. Each kill leaves no report and no failing test to look at. Same change as #26297 made for the main shards: 40 minutes gives the step headroom while the @ci suite is trimmed toward @nightly, and stays well inside GitHub's 6-hour job cap. The job's Install BBB step keeps 60 and Install test dependencies keeps 25.
Documents the part of the 4.0.1 delta that landed on v4.0.x-develop after the first sync (#26290) audited cd89568: cd89568..410727c, the PRs that go to v4.0.x-release with #26309, plus #25775. new-features.md - Other notable changes: "Static CSS classes for custom styles" for the bbb-* classes from #26193. - bbb-web properties changes / Added: tag the maxPresentationsPerRequest, insertDocument* and presentationConversion* entries from #25786 with "added in BBB 4.0.1", and link the insertDocument entry to its customize.md section. - bbb-apps-akka settings changes: the same tag on the two #25786 entries. development/api.md, "Updated in 4.0", each item "(added in 4.0.1)" - create: the maxPresentationsPerRequest cap and documentsDropped (#25786), and the recordingmarks and meetingID parameters on the meetingEndedURL callback (#26243; 4.0.0 called the URL unchanged). - insertDocument (new item): the same cap, the per-meeting rate limit (rateLimitExceeded), and the messageKey every FAILED response now carries (notFound, invalidFilename, presentationDisabled, noDocuments are new; the messages are unchanged). administration/customize.md - "Static CSS classes for client elements" after the custom-style section: the naming scheme, what the classes cover, an example, and public.app.customStyleUrl for loading a stylesheet for every user. Not documented: the fixes (#26215; #26289, which brought its own docs; #26278, since SVG was already refused on every upload path), the dependency bumps (#26296 and the dependabot PRs) and the CI changes (#26190, #26295, #26297, #26307, and #25775, which documents itself in .github/ci-tested-plugins.md). settings.yml, ApiParams.java, LockSettingsParams.java, create.tsx and join.tsx are unchanged in the range, and resources.xml only gains entries, so there is no upgrade warning to add.
The per-pull-request gate runs 681 tests in 8 shards. Its slowest shards take 22-26 minutes, one of them past the old 25-minute step limit that bigbluebutton#26297 raised to 40. These 88 leave it for the nightly: about 36 of the gate's 161 minutes of test time, measured test by test on a 4.0 server, which takes the shards from 14/20/23/11/18/19/24/26 minutes on the last green push to about 12/16/17/10/13/13/18/20, and the legacy media job from 146 tests to 135. They are the tests whose time goes to waiting (timers, reaction expiry, connection timeouts, heavy uploads and conversions, recording processing) and the variants of a check that a test staying in @ci already makes; one or two of each family stay in the gate, as in initialSelectedTool.spec.ts. Quarantined tests and the only test of a feature stay where they are. The tests stay where they are and take @nightly themselves. Playwright tags only add up, so most of them keep the @ci of their describe; the gate scripts now leave out @nightly the way they leave out the quarantine tags, which the nightly workflow already did, and the README says so. Five describes whose tests all move, and the reconnection test that is tagged on its own, change @ci to @nightly instead. Where a test's first line no longer fits, prettier puts the title, the tag and the function on lines of their own, as for the suite's other tagged tests; nothing else is reformatted. The nightly runs them on both media bridges in its @nightly jobs, which grow from about 10 to about 45 of their 150 minutes. It tests v4.0.x-develop only, so pull requests to a release branch no longer run these 88 unless the nightly is started there by hand.
The per-pull-request gate runs 681 tests in 8 shards. Its slowest shards take 22-26 minutes, one of them past the old 25-minute step limit that bigbluebutton#26297 raised to 40. These 88 leave it for the nightly: about 36 of the gate's 161 minutes of test time, measured test by test on a 4.0 server, which takes the shards from 14/20/23/11/18/19/24/26 minutes on the last green push to about 12/16/17/10/13/13/18/20, and the legacy media job from 146 tests to 135. They are the tests whose time goes to waiting (timers, reaction expiry, connection timeouts, heavy uploads and conversions, recording processing) and the variants of a check that a test staying in @ci already makes; one or two of each family stay in the gate, as in initialSelectedTool.spec.ts. Quarantined tests and the only test of a feature stay where they are. The tests stay where they are and take @nightly themselves. Playwright tags only add up, so most of them keep the @ci of their describe; the gate scripts now leave out @nightly the way they leave out the quarantine tags, which the nightly workflow already did, and the README says so. Five describes whose tests all move, and the reconnection test that is tagged on its own, change @ci to @nightly instead. Where a test's first line no longer fits, prettier puts the title, the tag and the function on lines of their own, as for the suite's other tagged tests; nothing else is reformatted. The nightly runs them on both media bridges in its @nightly jobs, which grow from about 10 to about 45 of their 150 minutes. It tests v4.0.x-develop only, so pull requests to a release branch no longer run these 88 unless the nightly is started there by hand.
What
Raises the
timeout-minutesof the Playwright "Run tests" step ininstall-and-run-bbb-testsfrom 25 to 40.Why
The 25 dates from November 2023 (724e356), when it was the timeout of a retry wrapper around a much smaller suite; #22024 removed the wrapper and kept the number.
Since then the
@cisuite grew from 71 tagged tests on 2026-10-07 to 125 on 2026-10-28. Playwright shards by file in contiguous slices, so the heavy files land on shards 2, 7 and 8. "Run tests" durations on green pushes tov4.0.x-develop, in minutes:With a 3-minute test timeout and one retry in CI, a single retried flaky test pushes shard 2, 7 or 8 past 25 minutes. That is what the recent
The action 'Run tests' has timed out after 25 minutes.failures are: shard 2 on the 4.0.1 push (run 40730587461), shards 2 and 8 on #26278 (run 40733823863). The step is killed mid-run, so there is no report and no failing test to look at.Scope
timeout-minutesis set, so GitHub's default 6-hour job cap is the only other limit; 40 is well inside it.@cisuite by moving tests to@nightlynow that ci: add a nightly workflow for the tests the per-PR gate leaves out #26190 is in; this buys headroom until then. The cost is that a genuinely hung shard now fails after 40 minutes instead of 25.How to test
CI on this PR: the heavy shards finish green without the timeout, and the step budget shows in each shard's step list.