Open aklapper opened 6 years ago
@aklapper I am not entirely sure why specifically for the project /mediawiki/extensions/examples
as in this case and the one you previously reported, the bot didn't work.
We didn't earlier have logging setup for the bot, but now I've pushed a fix and will monitor the logs. So, I will only know what happened when someone uploads a patch to that repository.
(Bot worked in https://gerrit.wikimedia.org/r/#/c/441640/ as expected.)
We didn't earlier have logging setup for the bot, but now I've pushed a fix and will monitor the logs. So, I will only know what happened when someone uploads a patch to that repository.
The bot did not add a comment to https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/examples/+/447618/ and https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/examples/+/448010/ and https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/examples/+/448011/
And I do not know how to reopen tickets in Github. :)
Thanks for reporting @aklapper.. investigating it!
Looks like an error occurred while watching patchsets; most likely due to a timeout issue with the paramiko client like in https://github.com/fabric/fabric/issues/1610. Because of which the bot had unfortunately stopped running quite a while ago and I didn't know :-/
As a first step, integrated Twilio messaging so that whenever there is an error, I could learn about it soon and restart the bot.
Might really be about the examples repo, worked as expected in https://gerrit.wikimedia.org/r/#/c/451239/
Worked as expected in https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/examples/+/452201/
Wondering how long it should take the bot to kick in on https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/examples/+/469559/
From the logs, it looks like in this case the bot detected the patch owner as a new contributor instead of first-time contributor. I cannot tell more but guessing this might be a result from resetting of a dropped connection. I will investigate this more if we see a pattern repeat!
(Same wondering about https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/examples/+/471527/ )
(Same wondering about https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/examples/+/474093/ )
Is this bot still active? https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/examples/+/477616/
Sorry for ignoring the previous reports. I might have to seek help from someone who understands the underline structure of paramiko
(http://www.paramiko.org/) more than I do and help figure out why we are running into this issue.
@aklapper any thoughts on who we could ask for help?
Another recent example: https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/examples/+/515021/
No idea who to ask, sorry...
I would have expected the bot to add a "Welcome!" comment to https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/examples/+/440739/ which is listed under https://gerrit.wikimedia.org/r/#/q/owner:%22Tuxin+%253Ctuxin%2540free.fr%253E%22
However, that user is not be in the
newcomers
group as can be seen at https://gerrit.wikimedia.org/r/#/q/ownerin:newcomers+owner:%22Tuxin+%253Ctuxin%2540free.fr%253E%22Looking into Bitergia,
author_name:"Tuxin"
shows no previous results so I wonder why that user was not added to the newcomers group.