Page MenuHomePhabricator

Initial group versions displayed by "scap train" can be wrong if previous scap attempt failed
Open, LowPublic

Description

scap train for group2 initially failed due to a HTTP 500 error with the Docker Registry: T408272#11369913.

Trying scap train again, it incorrectly showed that group2 is already on wmf.2:

                                                       ____
                                                       |DD|_____T_
                                                       |_ |-wmf.2|<
                                                         @-@-@-oo
=====================================================================
  START   testwikis      group0         group1         group2
          1.46.0-wmf.2   1.46.0-wmf.2   1.46.0-wmf.2   1.46.0-wmf.2

<hashar> my guess is scap thinks that because it reads the local /srv/mediawiki-staging/wikiversions.json

Not sure that can be corrected, if not, please decline this task.

https://versions.toolforge.org/ correctly showed still old 1.46.0-wmf.1 for group2 instead of 1.46.0-wmf.2.

Event Timeline

https://versions.toolforge.org/ correctly showed still old 1.46.0-wmf.1 for group2 instead of 1.46.0-wmf.2.

Looks like https://versions.toolforge.org/ uses https://noc.wikimedia.org/conf/wikiversions.json for its information. Does anyone know where https://noc.wikimedia.org sources its data?

<hashar> my guess is scap thinks that because it reads the local /srv/mediawiki-staging/wikiversions.json

That's right.

Does anyone know where https://noc.wikimedia.org sources its data?

I may be wrong but judging by https://github.com/wikimedia/operations-mediawiki-config/blob/a0f366b8b706c963ed9badac8ebe7a074a292549/src/Noc/utils.php#L9-L18, I believe it might read the wikiversions.json file that's local to the server its running on.

Does anyone know where https://noc.wikimedia.org sources its data?

I may be wrong but judging by https://github.com/wikimedia/operations-mediawiki-config/blob/a0f366b8b706c963ed9badac8ebe7a074a292549/src/Noc/utils.php#L9-L18, I believe it might read the wikiversions.json file that's local to the server its running on.

Thanks @A_smart_kitten!