Page MenuHomePhabricator

ErfgoedBot doesn't work since 2022-04-19, since the move to new Buster tools grid
Closed, ResolvedPublicBUG REPORT

Description

ErfgoedBot doesn't work since 2022-04-19. Pages as Unused images, Images of monuments without ID, Missing commons category links are not updated. Last edits by the bot are from 2022-04-18 (https://commons.wikimedia.org/w/index.php?title=Commons:Monuments_database/Statistics&action=history).

The bot operator was notified 2022-04-26.

The previous failure was caused by T295238.

Event Timeline

On 2022-04-18, @Lokal_Profil saved us from T277653: Toolforge: add Debian Buster to the grid and eliminate Debian Stretch by updating the cron jobs − Setting the "-release buster" flag as part of Stretch deprecation

Since then, all jobs go in:

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'

Current thread 0x00001455f08ed740 (most recent call first):
/data/project/heritage/bin/update_monuments.sh: line 69: 15022 Aborted                 (core dumped) $PYWIKIBOT_BIN $ERFGOED_PATH/images_of_monuments_without_id.py -log

This appears to be the same as T307406: Python3 bot fails on new Buster tools grid

JeanFred renamed this task from ErfgoedBot doesn't work since 2022-04-19 to ErfgoedBot doesn't work since 2022-04-19, since the move to new Buster tools grid.May 3 2022, 8:10 AM
JeanFred triaged this task as High priority.

Change 788673 had a related patch set uploaded (by Jean-Frédéric; author: Jean-Frédéric):

[labs/tools/heritage@master] Switch to new Debian Buster toolforge Grid

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

Mentioned in SAL (#wikimedia-cloud) [2022-05-03T08:17:10Z] <wm-bot> <jeanfred> Run ./bin/build.sh to rebuild the virtualenv with Python3.7 on a Buster node (for T307269)

Mentioned in SAL (#wikimedia-cloud) [2022-05-03T08:18:02Z] <wm-bot> <jeanfred> Trigger a full update_monuments job post-T307269

JeanFred claimed this task.

Change 788673 merged by jenkins-bot:

[labs/tools/heritage@master] Switch to new Debian Buster toolforge Grid and Python3.7

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