Page MenuHomePhabricator

Gerrit newcomer bot sometimes stop working
Open, NormalPublic

Description

It seems like the bot stops working sometimes while watching patchsets; most likely due to a timeout issue with the ssh paramiko client that the bot uses. As a workaround whenever this happens, I learn about it via a text message and restart the bot. Earlier, it used to be once a month issue, but it has been a bit frequent recently. Background conversation: https://github.com/srish/gerrit-newcomer-bot/issues/10.

This needs help from an expert who understands the underline structure of paramiko (http://www.paramiko.org/) and could help fix this problem.

Code repository:
https://gerrit.wikimedia.org/r/#/admin/projects/labs/tools/gerrit-newcomer-bot
https://github.com/wikimedia/labs-tools-gerrit-newcomer-bot (mirrored version)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 18 2019, 12:21 AM
srishakatux triaged this task as Normal priority.Apr 18 2019, 12:22 AM
srishakatux updated the task description. (Show Details)

@srishakatux: Under which project tag are tasks tracked? There is https://github.com/srish/gerrit-newcomer-bot/issues for example, but now also this task in WM Phab without any associated project, so nobody can follow 'all' bot tasks. Also see https://www.mediawiki.org/wiki/Phabricator/Creating_and_renaming_projects

@Aklapper I am not sure if it makes sense to have a ticket around this issue on Phabricator. Basically, this issue needs expert help (someone who can speak both Python and Paramiko well). I created the task for visibility and in the hope that someone might help fix the problem :)

For reference, I am also looking at https://phabricator.wikimedia.org/T153719. With what happened to that task, I'm guessing the same applies to this one as well?