Page MenuHomePhabricator

Set MW_RESULTS_CACHE_SERVER_BASE_URL variable in CI to use job timing data in split_group generation
Closed, ResolvedPublic

Description

Since T384927, the composer phpunit:prepare-parallel:extensions task that runs as part of CI jobs checks to see if the MW_RESULTS_CACHE_SERVER_BASE_URL environment variable is set to determine whether test timing information should be fetched from the phpunit results cache server. Since this variable is not currently set in CI, no attempt is made to use the timing information.

Set the MW_RESULTS_CACHE_SERVER_BASE_URL environment variable to 'https://phpunit-results-cache.toolforge.org/results' so that CI jobs can download and use timing information.

Acceptance Criteria

  • The MW_RESULTS_CACHE_SERVER_BASE_URL environment variable is set in CI
  • CI jobs are making use of the timing information

Event Timeline

Change #1135687 had a related patch set uploaded (by Arthur taylor; author: Arthur taylor):

[integration/config@master] Add results cache server location to CI job environments

https://gerrit.wikimedia.org/r/1135687

Change #1135687 merged by jenkins-bot:

[integration/config@master] Add results cache server location to CI job environments

https://gerrit.wikimedia.org/r/1135687

I have deployed https://gerrit.wikimedia.org/r/c/integration/config/+/1135687 and the CI builds should now have MW_RESULTS_CACHE_SERVER_BASE_URL=https://phpunit-results-cache.toolforge.org/results