Page MenuHomePhabricator

Undesired full mediawiki image build when rolling back from group2 to group1
Closed, ResolvedPublic

Description

In the process of dealing with T324801 @colewhite rolled the train back from group2 to group1. The scap portion of that operation took 22 minutes. Analysis of the logs indicates that logic in the mediawiki container image build process determined that the change to wikiversions.json looked like a start-of-week train situation, so it did a full image build instead of an incremental one.

From scap-image-build-and-push-log:

at least one new wiki version is incoming
Using multiversion-base:latest as base image

Event Timeline

dancy opened https://gitlab.wikimedia.org/repos/releng/scap/-/merge_requests/50

sync-world: Add --full flag. Use during deploy-promote testwikis.

Change 869248 had a related patch set uploaded (by Ahmon Dancy; author: Ahmon Dancy):

[mediawiki/tools/release@master] Remove new-train-version logic

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

Change 869333 had a related patch set uploaded (by Ahmon Dancy; author: Ahmon Dancy):

[operations/puppet@production] train-presync: Pass -Dfull_image_build:True to scap stage-train

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

Change 869248 merged by jenkins-bot:

[mediawiki/tools/release@master] Remove new-train-version logic

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

Change 869333 merged by Dzahn:

[operations/puppet@production] train-presync: Pass -Dfull_image_build:True to scap stage-train

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