From: https://integration.wikimedia.org/ci/job/beta-update-databases-eqiad/25951/console
Exception: ('command: ', "echo 'enwikivoyage'; /usr/local/bin/mwscript update.php --wiki=enwikivoyage --quick", 'output: ', " [snip a bunch of standard output] [4ac7352ae101cb00da33f3ae] [no req] Wikimedia\\Rdbms\\DBQueryError from line 1443 of /srv/mediawiki-staging/php-master/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading? Query: CREATE UNIQUE INDEX ar_revid_uniq ON `archive` (ar_rev_id) Function: Wikimedia\\Rdbms\\Database::sourceFile( /srv/mediawiki-staging/php-master/maintenance/archives/patch-archive-ar_rev_id-unique.sql ) Error: 1062 Duplicate entry '108' for key 'ar_revid_uniq' (10.68.23.30:3306) Backtrace: #0 /srv/mediawiki-staging/php-master/includes/libs/rdbms/database/Database.php(1413): Wikimedia\\Rdbms\\Database->makeQueryException(string, integer, string, string) #1 /srv/mediawiki-staging/php-master/includes/libs/rdbms/database/Database.php(1186): Wikimedia\\Rdbms\\Database->reportQueryError(string, integer, string, string, boolean) #2 /srv/mediawiki-staging/php-master/includes/libs/rdbms/database/Database.php(4260): Wikimedia\\Rdbms\\Database->query(string, string) #3 /srv/mediawiki-staging/php-master/includes/libs/rdbms/database/Database.php(4195): Wikimedia\\Rdbms\\Database->sourceStream(unknown type, NULL, NULL, string, NULL) #4 /srv/mediawiki-staging/php-master/includes/installer/DatabaseUpdater.php(683): Wikimedia\\Rdbms\\Database->sourceFile(string) #5 /srv/mediawiki-staging/php-master/includes/installer/DatabaseUpdater.php(776): DatabaseUpdater->applyPatch(string, boolean, string) #6 /srv/mediawiki-staging/php-master/includes/installer/DatabaseUpdater.php(482): DatabaseUpdater->addIndex(string, string, string) #7 /srv/mediawiki-staging/php-master/includes/installer/DatabaseUpdater.php(446): DatabaseUpdater->runUpdates(array, boolean) #8 /srv/mediawiki-staging/php-master/maintenance/update.php(200): DatabaseUpdater→doUpdates(array) #9 /srv/mediawiki-staging/php-master/maintenance/doMaintenance.php(94): UpdateMediaWiki->execute() #10 /srv/mediawiki-staging/php-master/maintenance/update.php(245): include(string) #11 /srv/mediawiki-staging/multiversion/MWScript.php(100): include(string) #12 {main} ")
Looks related to T193180: Clean up archive rows with duplicate revision IDs