[omnibus] Speed up gitlab ci runs

Created on 11 September 2023, 10 months ago
Updated 12 June 2024, 13 days ago

Problem/Motivation

With gitlab ci, overall test runs complete within around 15-18 minutes. However, if one test is individually very slow, this can block the pipeline from completing for sometimes minutes after all other tests have completed. If we can refactor these individual blocking tests, we may be able to get test runs well below 15 minutes. This should also reduce gitlab hosting costs since it will reduce the time that any particular test pod is reserved.

We can also link to gitlab configuration changes from this issue too, but focusing on tests for now since at least a couple will obscure other improvements.

Steps to reproduce

Proposed resolution

Identify bottlenecks in the pipelines and fix them, whether containers, pipeline configuration, or specific long-running tests:

📌 Don't make other tests depend on PHPUnit Needs review
📌 ComponentsIsolatedBuildTest is slow RTBC
📌 Add GenericModuleTestBase and use it to test general module things Downport
#3387737: Split PHP image into php(cli/apache) and yarn(node/nightwatch) →
📌 Update Nightwatch to 3.x Needs work
#3387117: Enable distributed caching in GitLab Runner →
📌 Run nightwatch tests in parallel Needs review
📌 Distribute @group #slow tests between test runners and mark more tests RTBC
📌 [meta] Refactor ultra-slow tests Active

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Postponed

Version

11.0 🔥

Component
PHPUnit  →

Last updated about 12 hours ago

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024